From 5ed043ad03d36be44500501ec0d69f3ba736911d Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Sun, 6 Feb 2011 19:43:22 +0100 Subject: [PATCH] tests: tweak few tests on simple and parallel test drivers * tests/check-exported-srcdir.test: Improve heading comments. * tests/check-tests-in-builddir.test: Likewise. Also, unset the `FOO_EXIT_STATUS' variable, so that any pre-existing value in the environment won't risk to interfere with the test. Suggestions by Ralf Wildenhues. --- ChangeLog | 9 +++++++++ tests/check-exported-srcdir.test | 2 +- tests/check-tests-in-builddir.test | 4 +++- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 31bdd667b..3750915a9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2011-02-06 Stefano Lattarini + + tests: tweak few tests on simple and parallel test drivers + * tests/check-exported-srcdir.test: Improve heading comments. + * tests/check-tests-in-builddir.test: Likewise. Also, unset the + `FOO_EXIT_STATUS' variable, so that any pre-existing value in the + environment won't risk to interfere with the test. + Suggestions by Ralf Wildenhues. + 2011-02-01 Stefano Lattarini coverage: more tests on simple and parallel test drivers diff --git a/tests/check-exported-srcdir.test b/tests/check-exported-srcdir.test index 9209fc8fe..dc02b22df 100755 --- a/tests/check-exported-srcdir.test +++ b/tests/check-exported-srcdir.test @@ -14,7 +14,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -# Check that the "Simple Tests" driver (either with or without the +# Check that the testsuite driver (either with or without the # parallel-tests option enabled) exports the `srcdir' value in the # environment of the tests. This is documented in the manual. diff --git a/tests/check-tests-in-builddir.test b/tests/check-tests-in-builddir.test index b30999b3f..2d0e423c0 100755 --- a/tests/check-tests-in-builddir.test +++ b/tests/check-tests-in-builddir.test @@ -14,7 +14,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -# Check that the "Simple Tests" driver can find test in the srcdir as +# Check that the testsuite driver can find test in the srcdir as # well as in builddir, and that is prefers those in the builddir. . ./defs || Exit 1 @@ -36,6 +36,8 @@ exit ${FOO_EXIT_STATUS-0} END chmod a+x foo.test +unset FOO_EXIT_STATUS || : + $ACLOCAL $AUTOCONF $AUTOMAKE -a -- 2.47.2