1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
From: Stefano Rivera <stefanor@debian.org>
Date: Sat, 4 Jul 2015 13:12:35 -0700
Subject: Parallel-friendly test-runner
Use our own test runner that can test in parallel with readable output
and errors included in the build log.
Output a . after each line of test output so slow buildds don't give up on us.
Only perform cursory tests on the static library.
Forwarded: not-needed
---
Makefile | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 7e69a63..3b8b36f 100644
--- a/Makefile
+++ b/Makefile
@@ -286,7 +286,13 @@ clean:
testofiles: $(TESTOFILES)
.PHONY: test
-test: $(DTESTS) $(TESTS) $(STESTS) debug-test static-test shared-test
+test: $(patsubst %,%.log,$(TESTS) $(STESTS) $(SBIGTESTS))
+
+obj/so/test/%.log: obj/so/test/%
+ @LD_LIBRARY_PATH=obj/so:$(LD_LIBRARY_PATH) sh debian/runtest.sh $<
+
+obj/test/%.log: obj/test/%
+ @sh debian/runtest.sh $<
.PHONY: debug-test
debug-test: $(DTESTS)
|