From: Ralf Wildenhues Date: Sat, 28 Feb 2009 16:13:27 +0000 (+0100) Subject: Document INNER_TESTSUITEFLAGS, drop leading space. X-Git-Tag: v2.2.7b~104 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c1cd198697def508fc64ffe16516cd76f8d2eb5b;p=thirdparty%2Flibtool.git 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. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index 5379ed121..ea0b35edd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2009-03-03 Ralf Wildenhues + + 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 Fix low max_cmd_len template test on UnixWare. diff --git a/README b/README index 2bffd2785..612699e83 100644 --- 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, . @@ -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. diff --git a/tests/cmdline_wrap.at b/tests/cmdline_wrap.at index 0c47db81c..13edabc73 100644 --- a/tests/cmdline_wrap.at +++ b/tests/cmdline_wrap.at @@ -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