pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/git-base



Module Name:    pkgsrc
Committed By:   leot
Date:           Wed Dec 11 14:54:25 UTC 2019

Modified Files:
        pkgsrc/devel/git-base: Makefile

Log Message:
git-base: Use bash to run tests

At least with NetBSD (9.99.17) sh(1) the `streaming support for --stdin'
test of t0008-ignores.sh hangs.  Force to use bash for tests and add it as a
test dependency. (This needs to be investigate further.)

The entire test suite is now runs but at least on NetBSD 9.99.17
t0301-credential-cache.sh test 29 `use user socket if user directory
exists' and test 30 `use user socket if user directory is a symlink to
a directory' fail.


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 pkgsrc/devel/git-base/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/git-base/Makefile
diff -u pkgsrc/devel/git-base/Makefile:1.72 pkgsrc/devel/git-base/Makefile:1.73
--- pkgsrc/devel/git-base/Makefile:1.72 Tue Dec 10 18:32:38 2019
+++ pkgsrc/devel/git-base/Makefile      Wed Dec 11 14:54:25 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.72 2019/12/10 18:32:38 leot Exp $
+# $NetBSD: Makefile,v 1.73 2019/12/11 14:54:25 leot Exp $
 
 .include "../../devel/git/Makefile.common"
 
@@ -15,7 +15,7 @@ DEPENDS+=     p5-Net-SMTP-SSL>=1.01:../../ma
 DEPENDS+=      p5-Authen-SASL>=1.0:../../security/p5-Authen-SASL
 
 USE_LANGUAGES=         c99
-USE_TOOLS+=            perl:run sh:run msgfmt
+USE_TOOLS+=            perl:run sh:run msgfmt bash:test
 
 REPLACE_PERL+=         *.perl */*.perl */*/*.perl
 REPLACE_PERL+=         contrib/hooks/update-paranoid
@@ -82,6 +82,12 @@ SUBST_STAGE.fix-cd-P=        pre-build
 SUBST_SED.fix-cd-P=    -e "s/cd -P/cd/g"
 .endif
 
+SUBST_CLASSES+=                        test-shell
+SUBST_FILES.test-shell=                t/Makefile
+SUBST_MESSAGE.test-shell=      Use bash as TEST_SHELL_PATH
+SUBST_STAGE.test-shell=                pre-build
+SUBST_SED.test-shell=          -e '/^TEST_SHELL_PATH/ s;$$(SHELL_PATH);${TOOLS_BASH};'
+
 LDFLAGS.SunOS+=                -lintl -lnsl
 
 .include "../../mk/compiler.mk"



Home | Main Index | Thread Index | Old Index