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