rewriter tests are darwin specific, don't run them on other platforms.

llvm-svn: 48168
This commit is contained in:
Chris Lattner 2008-03-10 19:32:31 +00:00
parent d4e1d9eeb2
commit 4114219ac6
1 changed files with 9 additions and 3 deletions

View File

@ -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 {} \;