summaryrefslogtreecommitdiffstats
path: root/test/Makefile
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2009-07-11 18:34:43 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2009-07-11 18:34:43 +0000
commita7afc452918bae2f7bc26f903e16b183ae92b1ab (patch)
tree10bce74c60897189a0235ed706d00c75cf1923f5 /test/Makefile
parent002b91fc1a5ea20658bd0af836bea540eaa51932 (diff)
restore proper valgrind support.
disclaim: I know nothing about Python, so apologies in advance if I break something git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75368 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile
index 635759fa10..4c65d7c015 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -12,9 +12,15 @@ TESTARGS = -s
endif
endif
+ifdef VG
+ VGARG="--vg"
+else
+ VGARG=
+endif
+
all::
@ echo '--- Running clang tests for $(TARGET_TRIPLE) ---'
- @ PATH=$(ToolDir):$(LLVM_SRC_ROOT)/test/Scripts:$$PATH VG=$(VG) $(PROJ_SRC_DIR)/../utils/test/MultiTestRunner.py $(TESTARGS) $(TESTDIRS)
+ @ PATH=$(ToolDir):$(LLVM_SRC_ROOT)/test/Scripts:$$PATH $(PROJ_SRC_DIR)/../utils/test/MultiTestRunner.py $(TESTARGS) $(TESTDIRS) $(VGARG)
clean::
@ rm -rf Output/