From 2f42d4a5f859f6ed19490f1b69ae66c204f9abfd Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Fri, 4 Sep 2009 17:40:27 +0000 Subject: [PATCH] Support 'make test TESTSUITE=CodeGen', etc. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81011 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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