From: Bernhard Voelker Date: Mon, 19 Sep 2011 18:00:56 +0000 (+0200) Subject: tests: introduce make targets check-expensive and check-very-expensive X-Git-Tag: v8.14~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57db1fc2a97add508d43cf163d2a5f4f381d2837;p=thirdparty%2Fcoreutils.git tests: introduce make targets check-expensive and check-very-expensive * 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. --- diff --git a/Makefile.am b/Makefile.am index f737cf6c5d..0359717bdc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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