From: Stefano Lattarini Date: Thu, 2 Jun 2011 15:54:25 +0000 (+0200) Subject: self tests: fix another spurious failure X-Git-Tag: v1.11b~257^2~200 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=13c1b9e61bf30678a707229d52e05b3ae6a30f9c;p=platform%2Fupstream%2Fautomake.git 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. --- diff --git a/ChangeLog b/ChangeLog index 35c98a1..6d8f4b8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,16 @@ 2011-06-02 Stefano Lattarini + 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 + 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