diff options
| author | Chris Lattner <sabre@nondot.org> | 2008-03-10 19:32:31 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2008-03-10 19:32:31 +0000 |
| commit | 4114219ac69cb11accdf5b68c6f4c836438fcd88 (patch) | |
| tree | 5bef9bb64e1adc35660638d21f4f33f5ef0a3d08 | |
| parent | d4e1d9eeb297acaa47d619dbca838c263c755f0a (diff) | |
| download | bcm5719-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/Makefile | 12 |
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 {} \; |

