automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FYI] {master} self checks: avoid spurious failures when keep_testdirs=y


From: Stefano Lattarini
Subject: [FYI] {master} self checks: avoid spurious failures when keep_testdirs=yes
Date: Wed, 11 Apr 2012 22:12:20 +0200

* t/self-check-cleanup.tap, t/self-check-dir.tap: Unset the
'keep_testdirs' environment variable, to avoid spurious errors
when the testsuite is run with "keep_testdirs=yes make check".

Signed-off-by: Stefano Lattarini <address@hidden>
---
 t/self-check-cleanup.tap |    1 +
 t/self-check-dir.tap     |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/t/self-check-cleanup.tap b/t/self-check-cleanup.tap
index 5ea1a6e..a56854b 100755
--- a/t/self-check-cleanup.tap
+++ b/t/self-check-cleanup.tap
@@ -34,6 +34,7 @@ diff "$am_top_builddir"/defs-static defs-static \
 cp "$am_top_builddir"/defs .
 
 AM_TESTS_REEXEC=no; export AM_TESTS_REEXEC
+keep_testdirs=; unset keep_testdirs
 
 if ln -s defs foo && test -h foo; then
   have_symlinks=yes
diff --git a/t/self-check-dir.tap b/t/self-check-dir.tap
index 322677a..736238c 100755
--- a/t/self-check-dir.tap
+++ b/t/self-check-dir.tap
@@ -25,6 +25,7 @@ am_create_testdir=no
 plan_ 5
 
 AM_TESTS_REEXEC=no; export AM_TESTS_REEXEC
+keep_testdirs=; unset keep_testdirs
 
 # This needs to be consistent with what $SHELL deems to be the
 # current working directory.
-- 
1.7.9




reply via email to

[Prev in Thread] Current Thread [Next in Thread]