2007-07-16 12:35:52 +08:00
|
|
|
LEVEL = ../../..
|
|
|
|
include $(LEVEL)/Makefile.common
|
2006-06-18 13:42:02 +08:00
|
|
|
|
2008-03-11 03:32:31 +08:00
|
|
|
TESTDIRS := CodeGen Lexer Preprocessor Parser Sema Analysis Serialization
|
|
|
|
|
|
|
|
# Only run rewriter tests on darwin.
|
|
|
|
ifeq ($(OS),Darwin)
|
|
|
|
TESTDIRS += Rewriter
|
|
|
|
endif
|
|
|
|
|
2007-07-16 12:35:52 +08:00
|
|
|
all::
|
2008-03-11 03:32:31 +08:00
|
|
|
PATH=$$PATH:$(ToolDir):$(LLVM_SRC_ROOT)/test/Scripts \
|
|
|
|
find $(TESTDIRS) \( -name '*.c' -or -name '*.cpp' -or -name '*.m' \) \
|
2007-11-29 03:24:15 +08:00
|
|
|
-print -exec ./TestRunner.sh {} \;
|
2008-03-18 15:03:00 +08:00
|
|
|
|
|
|
|
clean::
|
|
|
|
rm -rf Output/
|
|
|
|
|
|
|
|
.PHONY: all clean
|