[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[FYI] {tap-testsuite-work} testsuite: fix a spurious failure
From: |
Stefano Lattarini |
Subject: |
[FYI] {tap-testsuite-work} testsuite: fix a spurious failure |
Date: |
Fri, 5 Aug 2011 12:03:00 +0200 |
User-agent: |
KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; ) |
* tests/parallel-tests-ext-driver.test: Exporting of environment
variables directly from $(LOG_COMPILER) variables is not allowed
anymore. Adjust to this.
---
ChangeLog | 7 +++++++
tests/parallel-tests-ext-driver.test | 14 ++------------
2 files changed, 9 insertions(+), 12 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index ad8c023..4ccef0c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2011-08-04 Stefano Lattarini <address@hidden>
+ testsuite: fix a spurious failure
+ * tests/parallel-tests-ext-driver.test: Exporting of environment
+ variables directly from $(LOG_COMPILER) variables is not allowed
+ anymore. Adjust to this.
+
+2011-08-04 Stefano Lattarini <address@hidden>
+
testsuite: yet more use of TAP, and related extensions
* tests/defs (show_): New function, display the contents of one or
more files on stdout, with bells & whistles (both for cosmetic and
diff --git a/tests/parallel-tests-ext-driver.test
b/tests/parallel-tests-ext-driver.test
index 44d7606..5fa4499 100755
--- a/tests/parallel-tests-ext-driver.test
+++ b/tests/parallel-tests-ext-driver.test
@@ -35,8 +35,8 @@ TESTS = foo.chk bar.test baz bla.t bli.suff sub/test
TEST_EXTENSIONS = .chk .test .t
-CHK_LOG_COMPILER = CHK=ok; export CHK; ./chk-driver
-TEST_LOG_COMPILER = CHK=ok $(SHELL) $(srcdir)/test-driver
+CHK_LOG_COMPILER = ./chk-driver
+TEST_LOG_COMPILER = $(SHELL) $(srcdir)/test-driver
T_LOG_COMPILER = @acsubst_driver@
LOG_COMPILER = @SHELL@ -x $(srcdir)/noext-driver
@@ -55,8 +55,6 @@ LOG_FLAGS = -b
EXTRA_DIST = $(TESTS) chk-driver test-driver noext-driver
END
-unset CHK || :
-
mkdir sub
cat > chk-driver <<'END'
@@ -65,10 +63,6 @@ test x"$1" = x"--chk" || {
echo "$0: invalid command line: $*" >&2
exit 1
}
-test x"$CHK" = x"ok" || {
- echo "$0: bad \$CHK value '$CHK'" >&2
- exit 1
-}
shift
exec "$@"
exit 127
@@ -84,10 +78,6 @@ if test x"$1,$2" != x"--am-t,--t"; then
echo "$0: invalid command line: $*" >&2
exit 1
fi
-if test x${CHK+"set"} = x"set"; then
- echo "$0: $CHK is set in the environment" >&2
- exit 1
-fi
shift; shift
exec "$@"
exit 127
--
1.7.2.3
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [FYI] {tap-testsuite-work} testsuite: fix a spurious failure,
Stefano Lattarini <=