diff options
Diffstat (limited to 'tools/ci/scripts/init.sh')
-rwxr-xr-x | tools/ci/scripts/init.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/ci/scripts/init.sh b/tools/ci/scripts/init.sh index c82d248d9..944d4d338 100755 --- a/tools/ci/scripts/init.sh +++ b/tools/ci/scripts/init.sh @@ -206,6 +206,13 @@ function run_make_check { echo "valgrind error" exit 1 fi + export DATA=$(grep -A 2 "uninitialised" valg.log|grep ".cpp") + if [ "$DATA" != "" ]; + then + cat valg.log + echo "valgrind error" + exit 1 + fi cat valg.log echo "valgrind check" } |