diff --git a/valgrind_test.sh b/valgrind_test.sh index 953304489..7c486124d 100755 --- a/valgrind_test.sh +++ b/valgrind_test.sh @@ -3,6 +3,7 @@ #Returns 0 on success when there are no failed tests VALGRIND_DIR=VALGRIND_LOGS +make clean make -j$(nproc) valgrind_check NUM_FAILED_TESTS=$((`wc -l $VALGRIND_DIR/valgrind_failed_tests | awk '{print $1}'` - 1)) if [ $NUM_FAILED_TESTS -lt 1 ]; then