Add a VALGRIND_EXTRA_ARGS makefile variable, with the obvious semantics.
authorDaniel Dunbar <daniel@zuster.org>
Mon, 14 Sep 2009 15:27:43 +0000 (15:27 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Mon, 14 Sep 2009 15:27:43 +0000 (15:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81764 91177308-0d34-0410-b5e6-96231b3b80d8

test/Makefile

index 3f21eaffc732e11ed842143d9fdc8b209cfc3cd7..661f791024c465d82431bd12b65fb64269ebd188 100644 (file)
@@ -43,7 +43,7 @@ LIT_TESTSUITE := .
 endif
 
 ifdef VG
-VALGRIND := valgrind --tool=memcheck --quiet --trace-children=yes --error-exitcode=3 --leak-check=full
+VALGRIND := valgrind --tool=memcheck --quiet --trace-children=yes --error-exitcode=3 --leak-check=full $(VALGRIND_EXTRA_ARGS)
 endif
 
 IGNORE_TESTS :=