pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/ocaml-duff



Module Name:    pkgsrc
Committed By:   alnsn
Date:           Tue Oct 20 22:24:06 UTC 2026

Modified Files:
        pkgsrc/devel/ocaml-duff: Makefile

Log Message:
Add do-test target.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/ocaml-duff/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/ocaml-duff/Makefile
diff -u pkgsrc/devel/ocaml-duff/Makefile:1.8 pkgsrc/devel/ocaml-duff/Makefile:1.9
--- pkgsrc/devel/ocaml-duff/Makefile:1.8        Mon Oct 19 21:06:59 2026
+++ pkgsrc/devel/ocaml-duff/Makefile    Tue Oct 20 22:24:06 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2026/10/19 21:06:59 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2026/10/20 22:24:06 alnsn Exp $
 
 DISTNAME=      ${GITHUB_PROJECT}-0.5
 PKGNAME=       ocaml-${DISTNAME}
@@ -18,6 +18,13 @@ LICENSE=     modified-bsd
 USE_LANGUAGES= # none
 OCAML_USE_DUNE=        yes
 
+TEST_DEPENDS+= ocaml-alcotest>=1.9.1:../../devel/ocaml-alcotest
+TEST_DEPENDS+= ocaml-bigstringaf-[0-9]*:../../devel/ocaml-bigstringaf
+
+do-test:
+       ${RUN} cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
+               dune runtest --profile release test
+
 .include "../../lang/ocaml/ocaml.mk"
 .include "../../devel/ocaml-fmt/buildlink3.mk"
 .include "../../devel/ocaml-fpath/buildlink3.mk"



Home | Main Index | Thread Index | Old Index