[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[FYI] {testsuite-work} test defs: increase coverage w.r.t. GNU make
From: |
Stefano Lattarini |
Subject: |
[FYI] {testsuite-work} test defs: increase coverage w.r.t. GNU make |
Date: |
Tue, 3 May 2011 14:53:31 +0200 |
User-agent: |
KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; ) |
* tests/defs (GNUmake): Instead of just skipping the tests
requiring GNU make if $MAKE is not GNU make, try to look for it
and, if found, redefine $MAKE accordingly. This will help to
transparently increase coverage on non-GNU systems which have
GNU make available in PATH.
---
ChangeLog | 9 +++++++++
tests/defs | 11 +++++++++--
2 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 8fe1067..5f10e49 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
2011-05-03 Stefano Lattarini <address@hidden>
+ test defs: increase coverage w.r.t. GNU make
+ * tests/defs (GNUmake): Instead of just skipping the tests
+ requiring GNU make if $MAKE is not GNU make, try to look for it
+ and, if found, redefine $MAKE accordingly. This will help to
+ transparently increase coverage on non-GNU systems which have
+ GNU make available in PATH.
+
+2011-05-03 Stefano Lattarini <address@hidden>
+
tests: improve few inter-tests references
* tests/acloca22.test: Improve and extend the heading comments.
Add reference to related tests 'remake-deleted-m4-file.test' and
diff --git a/tests/defs b/tests/defs
index 8c2b084..d85abf0 100644
--- a/tests/defs
+++ b/tests/defs
@@ -266,8 +266,15 @@ do
|| skip_ "required program \`etags' not available"
;;
GNUmake)
- echo "$me: determine if $MAKE is GNU make"
- using_gmake || skip_ "this test requires GNU make"
+ for make_ in "$MAKE" gmake gnumake :; do
+ MAKE=$make_ am__using_gmake=''
+ test "$MAKE" = : && break
+ echo "$me: determine whether $MAKE is GNU make"
+ using_gmake && break
+ done
+ test "$MAKE" = : && skip_ "this test requires GNU make"
+ export MAKE
+ unset make_
;;
gcc)
# When gcc is required, export `CC=gcc' so that ./configure
--
1.7.2.3
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [FYI] {testsuite-work} test defs: increase coverage w.r.t. GNU make,
Stefano Lattarini <=