summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
index 8e4215682f..aa18e85b30 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -149,3 +149,10 @@ site.exp: Makefile $(LLVM_OBJ_ROOT)/Makefile.config
@test ! -f site.exp || mv site.exp site.bak
@mv site.tmp site.exp
+quick-test:
+ @if test -d "${QUICKTEST}" ; then \
+ cd $(LLVM_SRC_ROOT)/test/$(QUICKTEST) ; \
+ find . -name \*.ll -print -exec $(LLVM_SRC_ROOT)/test/TestRunner.sh {} \; ; \
+ else \
+ echo "Set QUICKTEST=<some directory with TestRunner.sh .ll files in it" ; \
+ fi