From 54d7385ca66e8f936679063cf41dced89c1fb5b2 Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Mon, 31 Oct 2011 16:52:16 +0700 Subject: [PATCH] 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 --- NEWS | 4 ++++ tests/cmdline_wrap.at | 2 +- tests/stresstest.at | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) 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 -- 2.47.2