From: Gary V. Vaughan Date: Mon, 31 Oct 2011 09:52:16 +0000 (+0700) Subject: tests: add a keyword `expensive' to very long running tests. X-Git-Tag: v2.4.2.418~308 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54d7385ca66e8f936679063cf41dced89c1fb5b2;p=thirdparty%2Flibtool.git tests: add a keyword `expensive' to very long running tests. * tests/cmdline_wrap.at, tests/stresstest.at (AT_KEYWORDS): Add `expensive'. * NEWS: Updated. Signed-off-by: Gary V. Vaughan --- diff --git a/NEWS b/NEWS index 94de233f8..3672ff8fc 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,10 @@ NEWS - list of user-visible changes between releases of GNU Libtool ** New features: - Moved to gnulib release infrastructure. + - The Autotest testsuite can be run without the especially time consuming + tests with: + + make check-local TESTSUITEFLAGS='-k "!expensive"' ** Bug fixes: diff --git a/tests/cmdline_wrap.at b/tests/cmdline_wrap.at index 13edabc73..c7f567141 100644 --- a/tests/cmdline_wrap.at +++ b/tests/cmdline_wrap.at @@ -26,7 +26,7 @@ # We simulate this by setting max_cmd_len very low. AT_SETUP([Run tests with low max_cmd_len]) -AT_KEYWORDS([recursive]) +AT_KEYWORDS([recursive expensive]) m4_ifdef([AT_CAPTURE_FILE], [AT_CAPTURE_FILE([testsuite.log])]) diff --git a/tests/stresstest.at b/tests/stresstest.at index e71d492d9..9568d498c 100644 --- a/tests/stresstest.at +++ b/tests/stresstest.at @@ -29,7 +29,7 @@ AT_BANNER([Libtool stress test.]) AT_SETUP([Link option thorough search test]) -AT_KEYWORDS([libtool]) +AT_KEYWORDS([libtool expensive]) eval `$LIBTOOL --config | $EGREP '^(CC|objdir|allow_undefined_flag)='` mkdir sub sub2 sub3 2>/dev/null