bison-patches
[Top][All Lists]
Advanced

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

[PATCH] Prefer TESTSUITE_FLAGS.


From: Akim Demaille
Subject: [PATCH] Prefer TESTSUITE_FLAGS.
Date: Tue, 25 Nov 2008 20:49:25 +0100

TESTSUITEFLAGS is barely readable.

        * tests/local.mk (TESTSUITE_FLAGS): Default to $(TESTSUITEFLAGS)
        for backward compatibility.
        Use the former instead of the latter.
---
 ChangeLog      |    9 +++++++++
 tests/local.mk |    6 ++++--
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4485a14..da0fa0a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2008-11-25  Akim Demaille  <address@hidden>
 
+       Prefer TESTSUITE_FLAGS.
+       TESTSUITEFLAGS is barely readable.
+       
+       * tests/local.mk (TESTSUITE_FLAGS): Default to $(TESTSUITEFLAGS)
+       for backward compatibility.
+       Use the former instead of the latter.
+
+2008-11-25  Akim Demaille  <address@hidden>
+
        Get rid of yyrhs and yyprhs in larl1.java.
        * data/lalr1.java (yyrhs_, yyprhs_): Remove.
        (yy_reduce_print): Rather, use yystos_ and the state stack.
diff --git a/tests/local.mk b/tests/local.mk
index e4881a4..3c89ae2 100644
--- a/tests/local.mk
+++ b/tests/local.mk
@@ -78,15 +78,17 @@ clean-local: clean-local-tests
 clean-local-tests:
        test ! -f $(TESTSUITE) || cd tests && ../$(TESTSUITE) --clean
 
+# TESTSUITEFLAGS was used initially, this is backward compatibility.
+TESTSUITE_FLAGS = $(TESTSUITEFLAGS)
 check-local: tests/atconfig tests/atlocal $(TESTSUITE)
 # Move into tests/ so that testsuite.dir etc. be created there.
-       cd tests && ../$(TESTSUITE) $(TESTSUITEFLAGS)
+       cd tests && ../$(TESTSUITE) $(TESTSUITE_FLAGS)
 
 check_SCRIPTS = tests/bison
 
 # Run the test suite on the *installed* tree.
 installcheck-local:
-       cd tests && ../$(TESTSUITE) AUTOTEST_PATH="$(bindir)" $(TESTSUITEFLAGS)
+       cd tests && ../$(TESTSUITE) AUTOTEST_PATH="$(bindir)" $(TESTSUITE_FLAGS)
 
 # Be real mean with it.
 .PHONY: maintainer-check-g++
-- 
1.6.0.2.588.g3102





reply via email to

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