diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-09-04 17:40:27 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-09-04 17:40:27 +0000 |
commit | 2f42d4a5f859f6ed19490f1b69ae66c204f9abfd (patch) | |
tree | 19db785037732589d912d5cb14273923cfb32a2f /test/Makefile | |
parent | 8f28962de22867d372e5e454c33dcaaede860482 (diff) |
Support 'make test TESTSUITE=CodeGen', etc.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81011 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Makefile')
-rw-r--r-- | test/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile index 13cbfe6b3c..3fb103effc 100644 --- a/test/Makefile +++ b/test/Makefile @@ -2,7 +2,11 @@ LEVEL = ../../.. include $(LEVEL)/Makefile.common # Test in all immediate subdirectories if unset. +ifdef TESTSUITE +TESTDIRS := $(TESTSUITE:%=$(PROJ_SRC_DIR)/%) +else TESTDIRS ?= $(PROJ_SRC_DIR) +endif ifndef TESTARGS ifdef VERBOSE |