]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Document INNER_TESTSUITEFLAGS, drop leading space.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 28 Feb 2009 16:13:27 +0000 (17:13 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 3 Mar 2009 18:53:46 +0000 (19:53 +0100)
* README: Document INNER_TESTSUITEFLAGS.
* tests/cmdline_wrap.at (Run tests with low max_cmd_len):
When using INNER_TESTSUITEFLAGS on the testsuite invocation,
drop leading space after "-k libtool", so that the user may
further limit the set of tests to be run.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
README
tests/cmdline_wrap.at

index 5379ed121d4f3eb5dca34b23eb4f37c62d669470..ea0b35eddb1fa068cc43a4f7adceb7eb2dcbb948 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2009-03-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       Document INNER_TESTSUITEFLAGS, drop leading space.
+       * README: Document INNER_TESTSUITEFLAGS.
+       * tests/cmdline_wrap.at (Run tests with low max_cmd_len):
+       When using INNER_TESTSUITEFLAGS on the testsuite invocation,
+       drop leading space after "-k libtool", so that the user may
+       further limit the set of tests to be run.
+
 2009-03-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        Fix low max_cmd_len template test on UnixWare.
diff --git a/README b/README
index 2bffd2785df92132cd59b67ee9cb14e0916f71d9..612699e833919ae3bc446825e62b6ca9d1c4ebb2 100644 (file)
--- a/README
+++ b/README
@@ -104,6 +104,15 @@ possible to test an installed script, possibly from a different Libtool
 release, with
   gmake check-local TESTSUITEFLAGS="-k libtool LIBTOOL=/path/to/libtool"
 
+Some tests, like the one exercising max_cmd_len limits, make use of this
+to invoke the testsuite recursively on a subset of tests.  For these
+tests, the variable INNER_TESTSUITEFLAGS may be used.  It will be
+expanded right after the `-k libtool', without separating whitespace,
+so that further limiting of the recursive set of tests is possible.
+For example, to run only the template tests within the max_cmd_len, use
+  gmake check-local TESTSUITEFLAGS="-v -x -k max_cmd_len \
+                     INNER_TESTSUITEFLAGS=',template -v -x'"
+
 If you wish to report test failures to the libtool list, you need to
 send the file `tests/testsuite.log' to the bug report mailing list,
 <bug-libtool@gnu.org>.
@@ -165,7 +174,8 @@ For more details about version numbers, see:
     http://www.gnu.org/software/libtool/contribute.html
 
 -- 
-  Copyright (C) 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
+  Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009  Free Software
+  Foundation, Inc.
   Written by Gary V. Vaughan, 2004
 
   This file is part of GNU Libtool.
index 0c47db81c1c2d73a6e43302db051153957a7a76f..13edabc739bbc79268265f834f34d0fece5da254 100644 (file)
@@ -1,6 +1,6 @@
 # cmdline_wrap.at -- run tests with low max_cmd_len           -*- Autotest -*-
 
-#   Copyright (C) 2007 Free Software Foundation, Inc.
+#   Copyright (C) 2007, 2009 Free Software Foundation, Inc.
 #   Written by Ralf Wildenhues, 2007
 #
 #   This file is part of GNU Libtool.
@@ -40,7 +40,7 @@ mkdir tests
 cd tests
 INNER_TESTSUITEFLAGS="$INNER_TESTSUITEFLAGS abs_top_srcdir=$abs_top_srcdir \
   abs_builddir=$abs_builddir"
-AT_CHECK([$CONFIG_SHELL $abs_srcdir/testsuite -k libtool $INNER_TESTSUITEFLAGS],
+AT_CHECK([$CONFIG_SHELL $abs_srcdir/testsuite -k libtool$INNER_TESTSUITEFLAGS],
         [], [ignore], [ignore])
 
 AT_CLEANUP