[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[FYI] {testsuite-work} self tests: fix another spurious failure
From: |
Stefano Lattarini |
Subject: |
[FYI] {testsuite-work} self tests: fix another spurious failure |
Date: |
Thu, 2 Jun 2011 17:59:17 +0200 |
User-agent: |
KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; ) |
Our ad-hoc usage of `tests/defs' in the testsuite's self tests
stopped working properly when we made the test scripts re-execute
themselves with the configure-time $SHELL. Fix this.
Fixes a regression introduced by commit 'v1.11-874-g1321be7'.
* tests/self-check-exit.test: Export `AM_TESTS_REEXEC' to "no"
before running the self tests. This fixes a spurious failure
present only when the test was run by hand.
---
ChangeLog | 11 +++++++++++
tests/self-check-exit.test | 1 +
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 35c98a1..6d8f4b8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,16 @@
2011-06-02 Stefano Lattarini <address@hidden>
+ self tests: fix another spurious failure
+ Our ad-hoc usage of `tests/defs' in the testsuite's self tests
+ stopped working properly when we made the test scripts re-execute
+ themselves with the configure-time $SHELL. Fix this.
+ Fixes a regression introduced by commit 'v1.11-874-g1321be7'.
+ * tests/self-check-exit.test: Export `AM_TESTS_REEXEC' to "no"
+ before running the self tests. This fixes a spurious failure
+ present only when the test was run by hand.
+
+2011-06-02 Stefano Lattarini <address@hidden>
+
tests: use `$SHELL' to run the shell scripts from `lib/'
This should offer greater testsuite coverage for those developers
that override CONFIG_SHELL at configure time in order to test more
diff --git a/tests/self-check-exit.test b/tests/self-check-exit.test
index f8c5334..04c27fd 100755
--- a/tests/self-check-exit.test
+++ b/tests/self-check-exit.test
@@ -22,6 +22,7 @@
. ./defs-static || exit 99
unset am_explicit_skips
+AM_TESTS_REEXEC=no; export AM_TESTS_REEXEC
for st in 1 2 3 4 5 77 99 126 127 128 129 130 255; do
--
1.7.2.3
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [FYI] {testsuite-work} self tests: fix another spurious failure,
Stefano Lattarini <=