summaryrefslogtreecommitdiffstats
path: root/utils/test/Makefile.multi
diff options
context:
space:
mode:
Diffstat (limited to 'utils/test/Makefile.multi')
-rw-r--r--utils/test/Makefile.multi21
1 files changed, 21 insertions, 0 deletions
diff --git a/utils/test/Makefile.multi b/utils/test/Makefile.multi
new file mode 100644
index 0000000..3e9cd56
--- /dev/null
+++ b/utils/test/Makefile.multi
@@ -0,0 +1,21 @@
+LEVEL = ../../..
+include $(LEVEL)/Makefile.common
+
+# Test in all immediate subdirectories if unset.
+TESTDIRS ?= $(shell echo $(PROJ_SRC_DIR)/*/)
+
+ifndef TESTARGS
+ifdef VERBOSE
+TESTARGS = -v
+else
+TESTARGS = -s
+endif
+endif
+
+all::
+ @ PATH=$(ToolDir):$(LLVM_SRC_ROOT)/test/Scripts:$$PATH VG=$(VG) ../utils/test/MultiTestRunner.py $(TESTARGS) $(TESTDIRS)
+
+clean::
+ @ rm -rf Output/
+
+.PHONY: all report clean
OpenPOWER on IntegriCloud