pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/fossil



Module Name:    pkgsrc
Committed By:   riastradh
Date:           Tue Aug 25 21:50:04 UTC 2026

Modified Files:
        pkgsrc/devel/fossil: Makefile

Log Message:
devel/fossil: Wire up test target.

No change to build of package, hence no revbump.


To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 pkgsrc/devel/fossil/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/fossil/Makefile
diff -u pkgsrc/devel/fossil/Makefile:1.95 pkgsrc/devel/fossil/Makefile:1.96
--- pkgsrc/devel/fossil/Makefile:1.95   Sun Oct 26 12:00:32 2025
+++ pkgsrc/devel/fossil/Makefile        Tue Aug 25 21:50:04 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.95 2025/10/26 12:00:32 ryoon Exp $
+# $NetBSD: Makefile,v 1.96 2026/08/25 21:50:04 riastradh Exp $
 
 DISTNAME=      fossil-src-2.27
 PKGNAME=       ${DISTNAME:S/-src//}
@@ -36,6 +36,33 @@ do-install:
        ${INSTALL_DATA} ${WRKSRC}/extsrc/linenoise.h \
                ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
 
+# https://fossil-scm.org/home/doc/tip/test/release-checklist.wiki
+#
+# Test results on netbsd-9:
+#
+#      ***** Final results: 6 errors out of 42077 tests
+#      ***** Considered failures: settings-valid-local-anon-cookie-lifespan settings-valid-local-regexp-limit settings-valid-local-robot-exception settings-valid-global-anon-cookie-lifespan 
settings-valid-global-regexp-limit settings-valid-global-robot-exception
+#      ***** Ignored results: 0 ignored errors out of 42077 tests
+#      ***** Skipped tests: json merge5 set-manifest th1-docs th1-hooks th1-tcl unversioned
+#
+
+TEST_DEPENDS+= tcl>=0:../../lang/tcl
+
+# If USER is not defined, some tests fail and insist that you specify a
+# user somehow.
+#
+TEST_ENV+=     USER=fossiltest
+
+# Must run the tests out of a directory other than the source tree.
+#
+pre-test:
+       ${RUN}${MKDIR} ${WRKDIR}/test
+
+do-test:
+       ${RUN}cd ${WRKDIR}/test && \
+       ${PKGSRC_SETENV} ${TEST_ENV} \
+           tclsh ${WRKSRC}/test/tester.tcl ${WRKSRC}/fossil
+
 .if ${OPSYS} == "Darwin"
 .include "../../converters/libiconv/buildlink3.mk"
 .endif



Home | Main Index | Thread Index | Old Index