From a3bbca211f3dac5527d62c07adfa12360c0f65ef Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 11 Jan 2015 12:26:50 -0800 Subject: Non-verbose output on 'make testarchive', unless error occurs. --- Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 0bea9af..eb897d6 100644 --- a/Makefile +++ b/Makefile @@ -111,16 +111,14 @@ testtarball: $(TARBALL) tar xvzf $(TARBALL); \ cd $(PKGDIR); \ mkdir build && cd build && cmake .. && make && \ - (ctest -V || \ - (cat build/Testing/Temporary/LastTest.log && exit 1)) + (ctest || (cat build/Testing/Temporary/LastTest.log && exit 1)) testziparchive: $(ZIPARCHIVE) rm -rf $(PKGDIR); \ unzip $(ZIPARCHIVE); \ cd $(PKGDIR); \ mkdir build && cd build && cmake .. && make && \ - (ctest -V || \ - (cat build/Testing/Temporary/LastTest.log && exit 1)) + (ctest || (cat build/Testing/Temporary/LastTest.log && exit 1)) $(ALLTESTS): spec.txt python3 test/spec_tests.py --spec $< --dump-tests | python3 -c 'import json; import sys; tests = json.loads(sys.stdin.read()); print("\n".join([test["markdown"] for test in tests]))' > $@ -- cgit v1.2.3