]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Update VERBOSE handling for parallel-tests driver.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 22 Aug 2010 04:30:25 +0000 (06:30 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 22 Aug 2010 04:30:25 +0000 (06:30 +0200)
* tests/defs.m4sh: Default to verbose output, drop now-unneeded
handling of 'VERBOSE=no'.
* README: Update example usage.
* README.alpha: Likewise.
* doc/libtool.texi (Test descriptions, When tests fail): Remove
unneeded VERBOSE recommendations.  Point to per-test log files
and test-suite.log summary file.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
README
README.alpha
doc/libtool.texi
tests/defs.m4sh

index a1b2d077bbe869fba64c393fbe59a71e2f6dbea6..036375649be8e23089c1d235bdc614988858a3b3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2010-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       Update VERBOSE handling for parallel-tests driver.
+       * tests/defs.m4sh: Default to verbose output, drop now-unneeded
+       handling of 'VERBOSE=no'.
+       * README: Update example usage.
+       * README.alpha: Likewise.
+       * doc/libtool.texi (Test descriptions, When tests fail): Remove
+       unneeded VERBOSE recommendations.  Point to per-test log files
+       and test-suite.log summary file.
+
        Enable parallel-tests test driver for the old testsuite.
        * configure.ac: New configure test to find out whether `make'
        supports order-only prerequisites; set @ORDER@ accordingly.
diff --git a/README b/README
index 0a9317ff3ba6a18e0b5a06d036b2c81f2aa92f3b..44396dc4af4871333bb0a74c62f90a7f4767b789 100644 (file)
--- a/README
+++ b/README
@@ -76,15 +76,11 @@ If you wish to report a test group failure to the libtool list, you need
 to send the verbose output of the FAILing group, along with the
 information from the end of `$(top_builddir)/libtool --help' to the bug
 report mailing list, <bug-libtool@gnu.org> with a subject line that
-includes the string `[TEST FAILURE]'.  From a Bourne compatible shell,
-you can generate verbose test output like this:
+includes the string `[TEST FAILURE]'.  The file test-suite.log contains
+the verbose output from all failed tests.
 
-  VERBOSE=yes gmake check \
-  TESTS="tests/cdemo-static.test tests/cdemo-make.test tests/cdemo-exec.test" \
-  TESTSUITEFLAGS=-V | tee cdemo-static-group.log
-
-In order to enable debug shell tracing, use VERBOSE=debug instead of
-VERBOSE=yes.
+In order to enable debug shell tracing, you can set VERBOSE=debug when
+running the old test suite.
 
 
 In the long run, Libtool will move to using only the new,
@@ -174,7 +170,7 @@ For more details about version numbers, see:
     http://www.gnu.org/software/libtool/contribute.html
 
 -- 
-  Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009  Free Software
+  Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
   Foundation, Inc.
   Written by Gary V. Vaughan, 2004
 
index a785a7b70ea7c5b5a117f3d56980b1279bdf50dc..ca923294ee2f6dcc2d6a122a7eb1562478a4d7d8 100644 (file)
@@ -81,15 +81,11 @@ If you wish to report a test group failure to the libtool list, you need
 to send the verbose output of the FAILing group, along with the
 information from the end of `$(top_builddir)/libtool --help' to the bug
 report mailing list, <bug-libtool@gnu.org> with a subject line that
-includes the string `[TEST FAILURE]'.  From a Bourne compatible shell,
-you can generate verbose test output like this:
+includes the string `[TEST FAILURE]'.  The file test-suite.log contains
+the verbose output from all failed tests.
 
-  VERBOSE=yes gmake check \
-  TESTS="tests/cdemo-static.test tests/cdemo-make.test tests/cdemo-exec.test" \
-  TESTSUITEFLAGS=-V | tee cdemo-static-group.log
-
-In order to enable debug shell tracing, use VERBOSE=debug instead of
-VERBOSE=yes.
+In order to enable debug shell tracing, you can set VERBOSE=debug when
+running the old test suite.
 
 
 In the long run, Libtool will move to using only the new,
@@ -114,7 +110,7 @@ send the file `tests/testsuite.log' to the bug report mailing list,
 <bug-libtool@gnu.org>.
 
 -- 
-  Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009  Free Software
+  Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
   Foundation, Inc.
   Written by Gary V. Vaughan, 2004
 
index d0eaec4c1a05ea373e00b7660a9aac95aa392804..bf51157043311abc9e3010dd491602531a7c49b5 100644 (file)
@@ -5121,8 +5121,8 @@ correspond to libtool's own notion of how your linker behaves.
 @pindex demo-relink.test
 @pindex depdemo-relink.test
 These tests check whether variable @code{shlibpath_overrides_runpath} is
-properly set.  If the test fails and @env{VERBOSE} is set, it will
-indicate what the variable should have been set to.
+properly set.  If the test fails, it will indicate what the variable should
+have been set to.
 
 @item demo-noinst-link.test
 @pindex demo-noinst-link.test
@@ -5396,8 +5396,9 @@ test suite.
 @cindex failed tests
 @cindex tests, failed
 
-Each of the tests in the old test suite are designed to produce no
-output when they are run via @kbd{make check}.  The exit status of each
+When the tests in the old test suite are run via @command{make check},
+output is caught in per-test @file{tests/@var{test-name}.log} files
+and summarized in the @file{test-suite.log} file.  The exit status of each
 program tells the @file{Makefile} whether or not the test succeeded.
 
 If a test fails, it means that there is either a programming error in
@@ -5407,11 +5408,6 @@ To investigate a particular test, you may run it directly, as you would
 a normal program.  When the test is invoked in this way, it produces
 output that may be useful in determining what the problem is.
 
-Another way to have the test programs produce output is to set the
-@env{VERBOSE} environment variable to @samp{yes} before running them.
-For example, @kbd{env VERBOSE=yes make check} runs all the tests, and
-has each of them display debugging information.
-
 The new, Autotest-based test suite produces as output a file
 @file{tests/testsuite.log} which contains information about failed
 tests.
index 50fce10fbe79a38573281e8072fb8ed134a8c3bc..8ffde5b05c4ade32250e4ad6339b1bae9569c444 100644 (file)
@@ -43,15 +43,10 @@ if test -z "$DJGPP"; then
     CONFIG_SITE=/nonexistent
 fi
 
-# How verbose should we be?  Default is no test output.
-# Setting VERBOSE=yes enables test output.
-# Setting VERBOSE=debug also puts the shell in debug mode.
+# How verbose should we be?  Default is test output in log file.
+# Setting VERBOSE=debug puts the shell in debug mode.
 opt_debug=:
-test "${VERBOSE+set}" != "set" && VERBOSE=no
 case "$VERBOSE" in
-NO | no | 0 | "")
-  exec > /dev/null 2>&1
-  ;;
 DEBUG | debug )
   opt_debug='set -x'
   $opt_debug