summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-03-10 19:32:31 +0000
committerChris Lattner <sabre@nondot.org>2008-03-10 19:32:31 +0000
commit4114219ac69cb11accdf5b68c6f4c836438fcd88 (patch)
tree5bef9bb64e1adc35660638d21f4f33f5ef0a3d08
parentd4e1d9eeb297acaa47d619dbca838c263c755f0a (diff)
downloadbcm5719-llvm-4114219ac69cb11accdf5b68c6f4c836438fcd88.tar.gz
bcm5719-llvm-4114219ac69cb11accdf5b68c6f4c836438fcd88.zip
rewriter tests are darwin specific, don't run them on other platforms.
llvm-svn: 48168
-rw-r--r--clang/test/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/clang/test/Makefile b/clang/test/Makefile
index 175c477aaa5..85267558b72 100644
--- a/clang/test/Makefile
+++ b/clang/test/Makefile
@@ -1,8 +1,14 @@
LEVEL = ../../..
include $(LEVEL)/Makefile.common
+TESTDIRS := CodeGen Lexer Preprocessor Parser Sema Analysis Serialization
+
+# Only run rewriter tests on darwin.
+ifeq ($(OS),Darwin)
+TESTDIRS += Rewriter
+endif
+
all::
- PATH=$$PATH:$(ToolDir):$(LLVM_SRC_ROOT)/test/Scripts find\
- Rewriter CodeGen Lexer Preprocessor Parser Sema Analysis Serialization\
- \( -name '*.c' -or -name '*.cpp' -or -name '*.m' \)\
+ PATH=$$PATH:$(ToolDir):$(LLVM_SRC_ROOT)/test/Scripts \
+ find $(TESTDIRS) \( -name '*.c' -or -name '*.cpp' -or -name '*.m' \) \
-print -exec ./TestRunner.sh {} \;
OpenPOWER on IntegriCloud