[cfe-commits] r81011 - /cfe/trunk/test/Makefile
Daniel Dunbar
daniel at zuster.org
Fri Sep 4 10:40:28 PDT 2009
Author: ddunbar
Date: Fri Sep 4 12:40:27 2009
New Revision: 81011
URL: http://llvm.org/viewvc/llvm-project?rev=81011&view=rev
Log:
Support 'make test TESTSUITE=CodeGen', etc.
Modified:
cfe/trunk/test/Makefile
Modified: cfe/trunk/test/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Makefile?rev=81011&r1=81010&r2=81011&view=diff
==============================================================================
--- cfe/trunk/test/Makefile (original)
+++ cfe/trunk/test/Makefile Fri Sep 4 12:40:27 2009
@@ -2,7 +2,11 @@
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
More information about the cfe-commits
mailing list