add error in case of valgrind error
authorHanoh Haim <[email protected]>
Mon, 15 Feb 2016 12:47:09 +0000 (14:47 +0200)
committerHanoh Haim <[email protected]>
Mon, 15 Feb 2016 12:47:09 +0000 (14:47 +0200)
scripts/run-gtest-clean

index 99994e3..7788b38 100755 (executable)
@@ -1,3 +1,3 @@
 #! /bin/bash
-valgrind --leak-check=full --show-reachable=yes ./bp-sim-64 --ut --gtest_filter="basic_*"
+valgrind --leak-check=full --error-exitcode=1  --show-reachable=yes ./bp-sim-64 --ut --gtest_filter="basic_*"