[cfe-commits] r48168 - /cfe/trunk/test/Makefile
Chris Lattner
sabre at nondot.org
Mon Mar 10 12:32:32 PDT 2008
Author: lattner
Date: Mon Mar 10 14:32:31 2008
New Revision: 48168
URL: http://llvm.org/viewvc/llvm-project?rev=48168&view=rev
Log:
rewriter tests are darwin specific, don't run them on other platforms.
Modified:
cfe/trunk/test/Makefile
Modified: cfe/trunk/test/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Makefile?rev=48168&r1=48167&r2=48168&view=diff
==============================================================================
--- cfe/trunk/test/Makefile (original)
+++ cfe/trunk/test/Makefile Mon Mar 10 14:32:31 2008
@@ -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 {} \;
More information about the cfe-commits
mailing list