automake-patches
[Top][All Lists]
Advanced

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

[FYI] {testsuite-work} test defs: more environment cleanup


From: Stefano Lattarini
Subject: [FYI] {testsuite-work} test defs: more environment cleanup
Date: Fri, 9 Sep 2011 15:31:09 +0200

* tests/defs: Also unset the XFAIL_TESTS, and various
LOG_DRIVER, LOG_COMPILER variables (and corresponding
flags variable).
---
 ChangeLog  |    7 +++++++
 tests/defs |   12 +++++++++++-
 2 files changed, 18 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index da911d5..39aa991 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-09-09  Stefano Lattarini  <address@hidden>
 
+       test defs: more environment cleanup
+       * tests/defs: Also unset the XFAIL_TESTS, and various
+       LOG_DRIVER, LOG_COMPILER variables (and corresponding
+       flags variable).
+
+2011-09-09  Stefano Lattarini  <address@hidden>
+
        tests: allow depmod.tap to only run a subset of its tests
        * tests/depmod.tap: If command-line arguments are passed to the
        tests, they are now taken as the list of test names for which the
diff --git a/tests/defs b/tests/defs
index ac30e43..d50cb39 100644
--- a/tests/defs
+++ b/tests/defs
@@ -161,11 +161,21 @@ unset TESTS_ENVIRONMENT AM_TESTS_ENVIRONMENT
 unset DISABLE_HARD_ERRORS
 unset AM_COLOR_TESTS
 unset TESTS
-unset TEST_LOG_COMPILER
+unset XFAIL_TESTS
 unset TEST_LOGS
 unset TEST_SUITE_LOG
 unset RECHECK_LOGS
 unset VERBOSE
+for pfx in TEST_ TAP_ ''; do
+  unset ${pfx}LOG_COMPILER
+  unset ${pfx}LOG_COMPILE # Not a typo!
+  unset ${pfx}LOG_FLAGS
+  unset AM_${pfx}LOG_FLAGS
+  unset ${pfx}LOG_DRIVER
+  unset ${pfx}LOG_DRIVER_FLAGS
+  unset AM_${pfx}LOG_DRIVER_FLAGS
+done
+unset pfx
 
 # Re-enable, it had been temporarily disabled above.
 set -e
-- 
1.7.2.3




reply via email to

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