pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/ocaml-yojson



Module Name:    pkgsrc
Committed By:   alnsn
Date:           Tue Oct 20 22:46:58 UTC 2026

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

Log Message:
Add do-test target.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/devel/ocaml-yojson/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-yojson/Makefile
diff -u pkgsrc/devel/ocaml-yojson/Makefile:1.17 pkgsrc/devel/ocaml-yojson/Makefile:1.18
--- pkgsrc/devel/ocaml-yojson/Makefile:1.17     Sun Mar  1 12:38:34 2026
+++ pkgsrc/devel/ocaml-yojson/Makefile  Tue Oct 20 22:46:58 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2026/03/01 12:38:34 gdt Exp $
+# $NetBSD: Makefile,v 1.18 2026/10/20 22:46:58 alnsn Exp $
 
 GITHUB_PROJECT=        yojson
 DISTNAME=      ${GITHUB_PROJECT}-1.7.0
@@ -15,6 +15,12 @@ LICENSE=     modified-bsd
 OCAML_USE_DUNE=                yes
 INSTALLATION_DIRS+=    bin
 
+TEST_DEPENDS+= ocaml-alcotest>=1.9.1:../../devel/ocaml-alcotest
+
+do-test:
+       ${RUN} cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
+               dune runtest --profile release
+
 .include "../../lang/ocaml/ocaml.mk"
 .include "../../devel/ocaml-biniou/buildlink3.mk"
 .include "../../devel/ocaml-cppo/buildlink3.mk"



Home | Main Index | Thread Index | Old Index