From: Hanoh Haim Date: Mon, 15 Feb 2016 12:47:09 +0000 (+0200) Subject: add error in case of valgrind error X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=0c28aadfe1490c0ec44c94690f4c6d64f2e76e41;p=trex.git add error in case of valgrind error --- 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_*"