aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-01-11 12:26:50 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-01-11 12:26:50 -0800
commita3bbca211f3dac5527d62c07adfa12360c0f65ef (patch)
tree6e5ee9993b56a5eeece129c73c0e709f1ae0ecb3
parenta5571189025387d8af0a2569576fadd3e65da543 (diff)
Non-verbose output on 'make testarchive', unless error occurs.
-rw-r--r--Makefile6
1 files 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]))' > $@