From: Stefano Lattarini Date: Sat, 11 Aug 2012 21:08:11 +0000 (+0200) Subject: [ng] tests: allow overriding of etags/ctags programs X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55377dd4151cc24659452d8bb445de1dd4d169ad;p=thirdparty%2Fautomake.git [ng] tests: allow overriding of etags/ctags programs * t/ctags.sh, t/etags.sh: Here, for better coverage and debuggability. Signed-off-by: Stefano Lattarini --- diff --git a/t/ctags.sh b/t/ctags.sh index 196cad144..f3f8a6a5d 100755 --- a/t/ctags.sh +++ b/t/ctags.sh @@ -16,7 +16,7 @@ # Test vi-style tags. -required=ctags +required=${CTAGS:=ctags} . ./defs || exit 1 cat >> configure.ac << 'END' @@ -100,8 +100,8 @@ $AUTOCONF $AUTOMAKE -i ./configure -$MAKE test-ctags -$MAKE distcheck +$MAKE test-ctags CTAGS="$CTAGS" +$MAKE distcheck CTAGS="$CTAGS" $MAKE distclean find . -name tags | grep . && exit 1 diff --git a/t/etags.sh b/t/etags.sh index c8a6e9042..aa2f0e0cf 100755 --- a/t/etags.sh +++ b/t/etags.sh @@ -17,7 +17,7 @@ # Test to make sure tags and subdirs work correctly. Bug report by # François Pinard, and later by Akim Demaille. -required=etags +required=${ETAGS:=etags} . ./defs || exit 1 cat >> configure.ac << 'END' @@ -84,8 +84,8 @@ $AUTOCONF $AUTOMAKE -i ./configure -$MAKE test-tags -$MAKE distcheck +$MAKE test-tags ETAGS="$ETAGS" +$MAKE distcheck ETAGS="$ETAGS" $MAKE distclean find . -name TAGS | grep . && exit 1