diff options
author | Joshua Haberman <joshua@reverberate.org> | 2010-07-10 14:37:02 -0700 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2010-07-10 14:37:02 -0700 |
commit | 67b16cbe5c55d00d7e576cdf479392f3a0e927a5 (patch) | |
tree | 9d40b4d04c2a6980fd6e2125f723cec8f0ac1cb5 /Makefile | |
parent | 2ef013126c682a44d15554ea7a04144fc9a10fed (diff) |
Basic test_def links and passes no-op test!
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -102,14 +102,16 @@ VALGRIND=valgrind --leak-check=full --error-exitcode=1 #VALGRIND= test: tests @echo Running all tests under valgrind. + @set -e # Abort on error. # Needs to be rewritten to separate the benchmark. # valgrind --error-exitcode=1 ./tests/test_table @for test in tests/*; do \ if [ -x ./$$test ] ; then \ - echo $(VALGRIND) ./$$test: \\c; \ - $(VALGRIND) ./$$test; \ + echo !!! $(VALGRIND) ./$$test; \ + $(VALGRIND) ./$$test || exit 1; \ fi \ - done; + done; \ + echo "All tests passed!" tests/t.test_vs_proto2.googlemessage1 \ tests/t.test_vs_proto2.googlemessage2: \ |