summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-15 06:18:50 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-15 06:18:50 +0000
commit9df5561a952cbfe32aea4e1fbde16655af82efd0 (patch)
tree68f272279270e07768e3060011a4851ec734b2a4 /Makefile
parente9989b91522f8c28ee820dd56c3f46d420b22644 (diff)
Add a new testing target: check-one. It is used like this:
make check-one TESTONE=test/path/to/test.ll This runs a single check in exactly the same way that dejagnu runs it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36049 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a13be8ae0a3..c8604daf74e 100644
--- a/Makefile
+++ b/Makefile
@@ -113,6 +113,9 @@ endif
check-llvm2cpp:
$(MAKE) check TESTSUITE=Feature RUNLLVM2CPP=1
+check-one:
+ $(MAKE) -C test check-one TESTONE=$(TESTONE)
+
srpm: $(LLVM_OBJ_ROOT)/llvm.spec
rpmbuild -bs $(LLVM_OBJ_ROOT)/llvm.spec