From ed8c089469ff16235c0feb43f3fc376f2766f7b5 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17643 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/Makefile b/test/Makefile index 8e4215682f9..aa18e85b30f 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=