diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-11 12:26:50 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-11 12:26:50 -0800 |
commit | a3bbca211f3dac5527d62c07adfa12360c0f65ef (patch) | |
tree | 6e5ee9993b56a5eeece129c73c0e709f1ae0ecb3 | |
parent | a5571189025387d8af0a2569576fadd3e65da543 (diff) |
Non-verbose output on 'make testarchive', unless error occurs.
-rw-r--r-- | Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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]))' > $@ |