From 8a6147a99c1340d09457c6144b237bfbce16a630 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Tue, 30 Aug 2011 14:01:26 +0930 Subject: [PATCH] Makefile: speed fastcheck Rather than timeout, explicitly disable tests_pass_valgrind and tests_compile_coverage. This is important now we run under valgrind the first time we run the tests, thus would always time out and not run most of the tests at all! "make check" takes 7m57s, old "make fastcheck" takes 3m28s, and this takes only 1m57s, but much more is run (as shown by the larger score total). --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e10c9601..1063f4c5 100644 --- a/Makefile +++ b/Makefile @@ -101,7 +101,7 @@ summary-check-%: tools/ccanlint/ccanlint $(OBJFILES) tools/ccanlint/ccanlint -s -d ccan/$* summary-fastcheck-%: tools/ccanlint/ccanlint $(OBJFILES) - tools/ccanlint/ccanlint -t $(FASTTIMEOUT) -s -d ccan/$* + tools/ccanlint/ccanlint -x tests_pass_valgrind -x tests_compile_coverage -s -d ccan/$* ccan/%/info: ccan/%/_info $(CC) $(CCAN_CFLAGS) -o $@ -x c $< -- 2.39.2