summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2016-02-15 14:47:09 +0200
committerHanoh Haim <hhaim@cisco.com>2016-02-15 14:47:09 +0200
commit0c28aadfe1490c0ec44c94690f4c6d64f2e76e41 (patch)
tree04decf5298feaad83f40b714bc264f51ce842142
parent831557167f13715b0c9b5b456e0756bb9c8af3ab (diff)
add error in case of valgrind error
-rwxr-xr-xscripts/run-gtest-clean2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/run-gtest-clean b/scripts/run-gtest-clean
index 99994e31..7788b38f 100755
--- a/scripts/run-gtest-clean
+++ b/scripts/run-gtest-clean
@@ -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_*"