automake-patches
[Top][All Lists]
Advanced

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

[FYI] {testsuite-work} tests: add sanity check to 'self-check-cleanup.te


From: Stefano Lattarini
Subject: [FYI] {testsuite-work} tests: add sanity check to 'self-check-cleanup.test'
Date: Sun, 1 May 2011 15:28:50 +0200
User-agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; )

* tests/self-check-cleanup.test: Check that the "hacked" file
`defs-static' used by the test differs from the "vanilla" one
in builddir.  This also offers a little more debugging output.
---
 ChangeLog                     |    7 +++++++
 tests/self-check-cleanup.test |    1 +
 2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 67b8b8d..6b43628 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-05-01  Stefano Lattarini  <address@hidden>
 
+       tests: add sanity check to 'self-check-cleanup.test'
+       * tests/self-check-cleanup.test: Check that the "hacked" file
+       `defs-static' used by the test differs from the "vanilla" one
+       in builddir.  This also offers a little more debugging output.
+
+2011-05-01  Stefano Lattarini  <address@hidden>
+
        testsuite: display reasons for skips to the console
        * tests/Makefile.am (AM_TESTS_ENVIRONMENT): Open file descriptor
        `9' to the original stderr; define `stderr_fileno_' to `9', and
diff --git a/tests/self-check-cleanup.test b/tests/self-check-cleanup.test
index 390d9b5..efd18ee 100755
--- a/tests/self-check-cleanup.test
+++ b/tests/self-check-cleanup.test
@@ -27,6 +27,7 @@ fi
 # We still need a little hack to make ./defs work outside automake's
 # tree `tests' subdirectory.  Not a big deal.
 sed "s|^testbuilddir=.*|testbuilddir='`pwd`'|" ../defs-static >defs-static
+diff ../defs-static defs-static && Exit 99
 cp ../defs .
 
 have_symlinks=false
-- 
1.7.2.3




reply via email to

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