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

llvm-svn: 17643
This commit is contained in:
Reid Spencer 2004-11-09 06:28:32 +00:00
parent 1f0a97c6cb
commit 3006081612
1 changed files with 7 additions and 0 deletions

View File

@ -149,3 +149,10 @@ site.exp: Makefile $(LLVM_OBJ_ROOT)/Makefile.config
@test ! -f site.exp || mv site.exp site.bak @test ! -f site.exp || mv site.exp site.bak
@mv site.tmp site.exp @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