automake-ng
[Top][All Lists]
Advanced

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

[Automake-ng] [FYI] [ng] maintcheck: fix some failures


From: Stefano Lattarini
Subject: [Automake-ng] [FYI] [ng] maintcheck: fix some failures
Date: Thu, 16 Feb 2012 15:27:48 +0100

* tests/cscope.tap: Don't use 'using_gmake', simply assume we are
indeed using GNU make.
* tests/yacc-nodist.test: Likewise.
* tests/yacc-bison-skeleton.test: Don't use "make -e".
* tests/yacc-bison-skeleton-cxx.test: Likewise.
---
 tests/cscope.tap                   |   36 ++++++++++++++----------------------
 tests/yacc-bison-skeleton-cxx.test |    2 +-
 tests/yacc-bison-skeleton.test     |    2 +-
 tests/yacc-nodist.test             |    5 ++---
 4 files changed, 18 insertions(+), 27 deletions(-)

diff --git a/tests/cscope.tap b/tests/cscope.tap
index 36adeca..806912a 100755
--- a/tests/cscope.tap
+++ b/tests/cscope.tap
@@ -135,29 +135,21 @@ my_configure ()
               "$1"/configure EMACS=no --with-lispdir=/who/cares
 }
 
-if using_gmake; then
-
-  cd "$ocwd"
-  pfx="relative VPATH"
-  mkdir build
-  cd build
-  my_configure ..
-  test_cscope
-  test_cleanup
-
-  cd "$ocwd"
-  pfx="absolute VPATH"
-  mkdir build2
-  cd build2
-  my_configure "$ocwd"
-  test_cscope
-  test_cleanup
-
-else
-
-  skip_row_ 12 -r "cscope in VPATH required GNU make"
+cd "$ocwd"
+pfx="relative VPATH"
+mkdir build
+cd build
+my_configure ..
+test_cscope
+test_cleanup
 
-fi
+cd "$ocwd"
+pfx="absolute VPATH"
+mkdir build2
+cd build2
+my_configure "$ocwd"
+test_cscope
+test_cleanup
 
 cd "$ocwd"
 pfx="in-tree build"
diff --git a/tests/yacc-bison-skeleton-cxx.test 
b/tests/yacc-bison-skeleton-cxx.test
index 0d3c99b..ee5cb88 100755
--- a/tests/yacc-bison-skeleton-cxx.test
+++ b/tests/yacc-bison-skeleton-cxx.test
@@ -95,6 +95,6 @@ $MAKE
 
 # Check that distribution is self-contained, and do not require
 # bison to be built.
-env YACC=false DISTCHECK_CONFIGURE_FLAGS='YACC=false' $MAKE -e distcheck
+$MAKE distcheck YACC=false DISTCHECK_CONFIGURE_FLAGS='YACC=false'
 
 :
diff --git a/tests/yacc-bison-skeleton.test b/tests/yacc-bison-skeleton.test
index aa60658..2b36838 100755
--- a/tests/yacc-bison-skeleton.test
+++ b/tests/yacc-bison-skeleton.test
@@ -69,6 +69,6 @@ $MAKE
 
 # Check that distribution is self-contained, and do not require
 # bison to be built.
-env YACC=false DISTCHECK_CONFIGURE_FLAGS='YACC=false' $MAKE -e distcheck
+$MAKE YACC=false DISTCHECK_CONFIGURE_FLAGS='YACC=false' distcheck
 
 :
diff --git a/tests/yacc-nodist.test b/tests/yacc-nodist.test
index 619ed878..7bfd886 100755
--- a/tests/yacc-nodist.test
+++ b/tests/yacc-nodist.test
@@ -97,8 +97,7 @@ $MAKE test-build
 $MAKE test-dist
 
 # But the distribution must work correctly, assuming the user has
-# the proper tools to process yacc files.  Do this check only with
-# GNU make, to avoid tripping on automake bug#7884.
-if using_gmake; then $MAKE distcheck; fi
+# the proper tools to process yacc files.
+$MAKE distcheck
 
 :
-- 
1.7.9




reply via email to

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