forked from OSchip/llvm-project
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:
parent
1f0a97c6cb
commit
3006081612
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue