Run valgrind in second pass to get exit code correctly

This commit is contained in:
Milo Yip 2014-06-30 23:54:47 +08:00
parent e3330d15c0
commit 93e1488c7b

View File

@ -24,5 +24,6 @@ script:
- make -C build/gmake -f test.make - make -C build/gmake -f test.make
- make -C build/gmake -f example.make - make -C build/gmake -f example.make
- cd bin - cd bin
- valgrind --leak-check=full ./unittest_${config_suffix} - ./unittest_${config_suffix}
- valgrind --leak-check=full --error-exitcode=1 ./unittest_${config_suffix}
- ./perftest_${config_suffix} - ./perftest_${config_suffix}