libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: [PATCH 2/4] tests: add a keyword `expensive' to very long running t


From: Gary V. Vaughan
Subject: FYI: [PATCH 2/4] tests: add a keyword `expensive' to very long running tests
Date: Mon, 31 Oct 2011 21:58:30 +0700

Applied as obvious.

This shaves about 15 minutes of every casual make distcheck for me, while still
leaving the default to run even the crazy slow test cases. :)

* tests/cmdline_wrap.at, tests/stresstest.at (AT_KEYWORDS): Add
`expensive'.
* NEWS: Updated.

Signed-off-by: Gary V. Vaughan <address@hidden>
---
 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 94de233..3672ff8 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 13edabc..c7f5671 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 e71d492..9568d49 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
-- 
1.7.7.1<

Cheers,
-- 
Gary V. Vaughan (gary AT gnu DOT org)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]