pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/lcov



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Oct  6 08:46:51 UTC 2026

Modified Files:
        pkgsrc/devel/lcov: Makefile

Log Message:
lcov: use GNU coreutils for testing

fixes a couple more tests


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 pkgsrc/devel/lcov/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/lcov/Makefile
diff -u pkgsrc/devel/lcov/Makefile:1.30 pkgsrc/devel/lcov/Makefile:1.31
--- pkgsrc/devel/lcov/Makefile:1.30     Mon Oct  5 20:17:30 2026
+++ pkgsrc/devel/lcov/Makefile  Tue Oct  6 08:46:50 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2026/10/05 20:17:30 wiz Exp $
+# $NetBSD: Makefile,v 1.31 2026/10/06 08:46:50 wiz Exp $
 
 DISTNAME=      lcov-2.6
 PKGREVISION=   3
@@ -23,6 +23,7 @@ DEPENDS+=     p5-Memory-Process-[0-9]*:../..
 DEPENDS+=      p5-TimeDate-[0-9]*:../../time/p5-TimeDate
 DEPENDS+=      ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
 DEPENDS+=      ${PYPKGPREFIX}-xlsxwriter>=0:../../textproc/py-xlsxwriter
+TEST_DEPENDS+= coreutils-[0-9]*:../../sysutils/coreutils
 TEST_DEPENDS+= jq-[0-9]*:../../devel/jq
 
 USE_LANGUAGES= c c++
@@ -44,7 +45,7 @@ CONF_FILES=   ${PREFIX}/share/examples/lco
                ${PKG_SYSCONFDIR}/lcovrc
 
 # as of 2.6nb1:
-# 91 tests executed, 80 passed, 11 failed, 0 skipped
+# 91 tests executed, 84 passed, 7 failed, 0 skipped
 TEST_TARGET=   test
 # breaks tests
 #TEST_ENV+=    TESTCASE_ARGS=--parallel\ ${_MAKE_JOBS_N:U1}
@@ -167,10 +168,37 @@ SUBST_MESSAGE.bh= Fixing path to bash.
 
 SUBST_CLASSES+=                pyc
 SUBST_SED.pyc+=                -e "s,cover_cmd = 'coverage,cover_cmd = 'coverage-${PYVERSSUFFIX},"
+SUBST_SED.pyc+=                -e "s,CMD='coverage,CMD='coverage-${PYVERSSUFFIX},"
 SUBST_FILES.pyc+=      bin/py2lcov
+SUBST_FILES.pyc+=      tests/py2lcov/py2lcov.sh
 SUBST_STAGE.pyc=       pre-configure
 SUBST_MESSAGE.pyc=     Fixing py-coverage binary name.
 
+# needs mktemp --suffix
+# needs md5sum
+# needs wc without leading space
+SUBST_CLASSES+=                gnu
+SUBST_SED.gnu+=                -e "s,md5sum,gmd5sum,"
+SUBST_SED.gnu+=                -e "s,mktemp,gmktemp,"
+SUBST_SED.gnu+=                -e "s, wc , gwc ,"
+SUBST_FILES.gnu+=      tests/bin/common
+SUBST_FILES.gnu+=      tests/bin/test_run
+SUBST_FILES.gnu+=      tests/genhtml/full.sh
+SUBST_FILES.gnu+=      tests/genhtml/htmlgen/htmlgen.sh
+SUBST_FILES.gnu+=      tests/genhtml/part1.sh
+SUBST_FILES.gnu+=      tests/genhtml/part2.sh
+SUBST_FILES.gnu+=      tests/genhtml/target.sh
+SUBST_FILES.gnu+=      tests/genhtml/zero.sh
+SUBST_FILES.gnu+=      tests/lcov/exception/exception.sh
+SUBST_FILES.gnu+=      tests/lcov/scheduling/scheduling.sh
+SUBST_FILES.gnu+=      tests/lcov/tempdir/tempdir.sh
+SUBST_FILES.gnu+=      tests/lcov/xplatform/xplatform.sh
+SUBST_FILES.gnu+=      tests/scripts/gitblame_test.sh
+SUBST_FILES.gnu+=      tests/scripts/p4annotate_test.sh
+SUBST_FILES.gnu+=      tests/scripts/p4version_test.sh
+SUBST_STAGE.gnu=       pre-test
+SUBST_MESSAGE.gnu=     Preferring GNU tools.
+
 REPLACE_PERL+= bin/fix.pl
 REPLACE_PERL+= bin/gendesc
 REPLACE_PERL+= bin/genhtml



Home | Main Index | Thread Index | Old Index