automake-ng
[Top][All Lists]
Advanced

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

[Automake-NG] [FYI] [ng] tests: allow overrid ing of etags/ctags program


From: Stefano Lattarini
Subject: [Automake-NG] [FYI] [ng] tests: allow overrid ing of etags/ctags programs
Date: Sat, 11 Aug 2012 23:11:33 +0200

* t/ctags.sh, t/etags.sh: Here, for better coverage and debuggability.

Signed-off-by: Stefano Lattarini <address@hidden>
---
 t/ctags.sh | 6 +++---
 t/etags.sh | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/t/ctags.sh b/t/ctags.sh
index 196cad1..f3f8a6a 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 c8a6e90..aa2f0e0 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
-- 
1.7.12.rc0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]