]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: introduce make targets check-expensive and check-very-expensive
authorBernhard Voelker <mail@bernhard-voelker.de>
Mon, 19 Sep 2011 18:00:56 +0000 (20:00 +0200)
committerJim Meyering <meyering@redhat.com>
Sat, 24 Sep 2011 11:17:21 +0000 (13:17 +0200)
* Makefile.am: add shortcuts to run (very) expensive tests.
Use "make check-expensive" to run tests with RUN_EXPENSIVE_TESTS=yes,
use "make check-very-expensive" to run tests with both
RUN_EXPENSIVE_TESTS=yes and RUN_VERY_EXPENSIVE_TESTS=yes.
Non-expensive tests are included in all cases.

Makefile.am

index f737cf6c5d619c5de5ebc6252a3d3e7bd5107dde..0359717bdc6a0a327ec7fc1fbd6f1e7429e2b3e9 100644 (file)
@@ -66,6 +66,12 @@ ALL_RECURSIVE_TARGETS += check-root
 check-root:
        cd tests && $(MAKE) $@ SUBDIRS=
 
+# Shortcut targets to make it easier to run (very) expensive tests.
+check-expensive:
+       $(MAKE) check RUN_EXPENSIVE_TESTS=yes
+check-very-expensive:
+       $(MAKE) check-expensive RUN_VERY_EXPENSIVE_TESTS=yes
+
 # Just prior to distribution, ...
 # transform the automake-generated rule that runs `rm -f rm'.
 # On some systems, that command would fail with a diagnostic like