summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-11-09 06:28:32 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-11-09 06:28:32 +0000
commited8c089469ff16235c0feb43f3fc376f2766f7b5 (patch)
treeab4941f8c2c044f90cd84e6b3325169e2d54f006 /test/Makefile
parent52f20f83082ec92d536f2dcc4234f35638aea6f9 (diff)
downloadllvm-ed8c089469ff16235c0feb43f3fc376f2766f7b5.tar.gz
llvm-ed8c089469ff16235c0feb43f3fc376f2766f7b5.tar.bz2
llvm-ed8c089469ff16235c0feb43f3fc376f2766f7b5.tar.xz
Add a quick-test target that uses QUICKTEST variable to quickly run a
portion of the test suite. e.g.: make quck-test QUICKTEST=Regression/Bytecode git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17643 91177308-0d34-0410-b5e6-96231b3b80d8
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