From 30060816120cfe733b0fcdbcfc034e937f0915da Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Tue, 9 Nov 2004 06:28:32 +0000 Subject: [PATCH] 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 --- llvm/test/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/llvm/test/Makefile b/llvm/test/Makefile index 8e4215682f91..aa18e85b30f1 100644 --- a/llvm/test/Makefile +++ b/llvm/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=