]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tests: tweak few tests on simple and parallel test drivers
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 6 Feb 2011 18:43:22 +0000 (19:43 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 6 Feb 2011 18:43:22 +0000 (19:43 +0100)
* 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
tests/check-exported-srcdir.test
tests/check-tests-in-builddir.test

index 31bdd667b068232830ff24d608da3d99d894100d..3750915a97189669f4ba4cc169ab8571407ced20 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2011-02-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
+
+       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  <stefano.lattarini@gmail.com>
 
        coverage: more tests on simple and parallel test drivers
index 9209fc8fee083ceb66ca0b2a4b7fb4da27be134a..dc02b22df50bca9fe4af48b966c3ff2d7d57da43 100755 (executable)
@@ -14,7 +14,7 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-# 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.
 
index b30999b3fb293cb44541fa980e27fd4b0649af87..2d0e423c0ff5ba959fb839b4cf2e85eeb8052d5e 100755 (executable)
@@ -14,7 +14,7 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-# 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