2007-07-16 08:35:52 +04:00
|
|
|
LEVEL = ../../..
|
|
|
|
include $(LEVEL)/Makefile.common
|
2007-07-11 21:01:13 +04:00
|
|
|
|
2008-08-29 03:28:16 +04:00
|
|
|
# Test in all immediate subdirectories if unset.
|
|
|
|
TESTDIRS ?= $(shell echo $(PROJ_SRC_DIR)/*/)
|
2008-03-10 22:32:31 +03:00
|
|
|
|
2009-06-13 22:28:48 +04:00
|
|
|
ifndef TESTARGS
|
2008-04-07 02:32:01 +04:00
|
|
|
ifdef VERBOSE
|
2009-06-13 22:28:48 +04:00
|
|
|
TESTARGS = -v
|
2009-03-13 03:21:49 +03:00
|
|
|
else
|
2009-06-13 22:28:48 +04:00
|
|
|
TESTARGS = -s
|
2009-03-18 23:25:18 +03:00
|
|
|
endif
|
2008-04-07 02:32:01 +04:00
|
|
|
endif
|
|
|
|
|
2007-07-16 08:35:52 +04:00
|
|
|
all::
|
2009-03-13 03:41:24 +03:00
|
|
|
@ echo '--- Running clang tests for $(TARGET_TRIPLE) ---'
|
2009-07-06 20:35:57 +04:00
|
|
|
@ PATH=$(ToolDir):$(LLVM_SRC_ROOT)/test/Scripts:$$PATH VG=$(VG) $(PROJ_SRC_DIR)/../utils/test/MultiTestRunner.py $(TESTARGS) $(TESTDIRS)
|
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
|
|
|
|
2008-04-07 02:32:01 +04:00
|
|
|
.PHONY: all report clean
|