diff options
author | leot <leot@pkgsrc.org> | 2019-12-11 14:54:25 +0000 |
---|---|---|
committer | leot <leot@pkgsrc.org> | 2019-12-11 14:54:25 +0000 |
commit | 070540cc8993ed84712a356308be3aa0f4feaa09 (patch) | |
tree | 2dd559c9c0d5f5d142370dad7e755c9d5c12bbd3 /devel/git-base | |
parent | b44c0a628d0c6b71d316434e7af4e0362f7bc1cd (diff) | |
download | pkgsrc-070540cc8993ed84712a356308be3aa0f4feaa09.tar.gz |
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.
Diffstat (limited to 'devel/git-base')
-rw-r--r-- | devel/git-base/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/devel/git-base/Makefile b/devel/git-base/Makefile index cb1bcbae0b7..e4a967d5480 100644 --- a/devel/git-base/Makefile +++ b/devel/git-base/Makefile @@ -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:../../mail/p5-Net-SMTP-SSL 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" |