diff --git a/qa/new-grind b/qa/new-grind index d0fc1b3cf2..ce1ef4b886 100755 --- a/qa/new-grind +++ b/qa/new-grind @@ -158,9 +158,10 @@ NF == 1 && $1 == "#" && done == 0 { { print } /^ *do_valgrind=true/ { print "elif which valgrind >/dev/null 2>&1" print "then" - print " _notrun \"valgrind variant qa/'$newseq' will be run\"" + print " [ $PCPQA_VALGRIND = both ] || \\" + print " _notrun \"valgrind variant qa/'$newseq' will be run\"" next - } + }' mv $oldseq.new-grind $oldseq chmod 755 $oldseq fi