summaryrefslogtreecommitdiff
path: root/dev-ml/alcotest/alcotest-1.5.0-r1.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-18 01:55:31 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-18 01:55:31 +0100
commit5fa0e0c7e62842b1491426c8c6e506f51b6c78e1 (patch)
treec494340a21568e82965da87fb559b9133375e762 /dev-ml/alcotest/alcotest-1.5.0-r1.ebuild
parentd941e0a66c717c1f67ae35cf31afdfcbf7f7acbb (diff)
gentoo auto-resync : 18:10:2022 - 01:55:31
Diffstat (limited to 'dev-ml/alcotest/alcotest-1.5.0-r1.ebuild')
-rw-r--r--dev-ml/alcotest/alcotest-1.5.0-r1.ebuild11
1 files changed, 10 insertions, 1 deletions
diff --git a/dev-ml/alcotest/alcotest-1.5.0-r1.ebuild b/dev-ml/alcotest/alcotest-1.5.0-r1.ebuild
index 9d4860fa648d..7e2047961acc 100644
--- a/dev-ml/alcotest/alcotest-1.5.0-r1.ebuild
+++ b/dev-ml/alcotest/alcotest-1.5.0-r1.ebuild
@@ -12,7 +12,8 @@ SRC_URI="https://github.com/mirage/alcotest/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
-IUSE="+ocamlopt"
+IUSE="+ocamlopt test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-ml/dune-2.8:=
@@ -31,3 +32,11 @@ RDEPEND="
dev-ml/uuidm:=
"
DEPEND="${RDEPEND}"
+BDEPEND="test? ( >=dev-ml/cmdliner-1.1.0 )"
+
+src_prepare() {
+ cp "${FILESDIR}"/unknown_option.processed \
+ test/e2e/alcotest/failing/unknown_option.expected \
+ || die
+ default
+}