From 2fb47d661ac321041c21113d857cdcecd60ae284 Mon Sep 17 00:00:00 2001 From: Abhishek Kona Date: Tue, 5 Mar 2013 17:38:13 -0800 Subject: [PATCH] add -j nproc in valgrind check script --- valgrind_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/valgrind_test.sh b/valgrind_test.sh index 6ae6ee64b..95c3af114 100755 --- a/valgrind_test.sh +++ b/valgrind_test.sh @@ -3,7 +3,7 @@ #Returns 0 on success when there are no failed tests VALGRIND_DIR=VALGRIND_LOGS -make valgrind_check +make -j$(nproc) valgrind_check NUM_FAILED_TESTS=`wc -l $VALGRIND_DIR/valgrind_failed_tests | awk '{print $1}'` if [ $NUM_FAILED_TESTS -le 1 ]; then echo No tests have valgrind errors