dev-ml/cinaps: fix test

Bug: https://bugs.gentoo.org/905097
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone
2025-04-13 22:03:39 +02:00
parent cf69f83601
commit 82b295674f
2 changed files with 18 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
# Copyright 2020-2024 Gentoo Authors
# Copyright 2020-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
inherit dune
@@ -17,8 +17,6 @@ RESTRICT="!test? ( test )"
DEPEND="dev-ml/re:="
RDEPEND="${DEPEND}"
BDEPEND="
test? (
dev-ml/ppx_jane:0/0.14.0
)
"
BDEPEND="test? ( dev-ml/ppx_jane )"
PATCHES=( "${FILESDIR}"/${P}-test.patch )

View File

@@ -0,0 +1,13 @@
--- a/test/dune 2025-04-13 21:58:20.175375148 +0200
+++ b/test/dune 2025-04-13 21:58:28.498274736 +0200
@@ -3,7 +3,7 @@
(executables (names test_staged_gen) (modules test_staged_gen)
(libraries cinaps.runtime)
- (preprocess (pps ppx_jane -allow-toplevel-expression)))
+ (preprocess (pps ppx_jane)))
(alias (name runtest) (deps test_staged_gen.exe)
- (action (bash ./test_staged_gen.exe)))
\ No newline at end of file
+ (action (bash ./test_staged_gen.exe)))