From 1ce5c596a206acb80d8dc58abae6bd0029befba9 Mon Sep 17 00:00:00 2001 From: John Criswell Date: Tue, 16 Sep 2003 02:59:26 +0000 Subject: [PATCH] Allow multiple object trees to use the source tree tests at once by using a QMTEST_CLASS_PATH local to the object tree. Add the gui target to start the QMTest gui (saves writing a few lines of documentation too). :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8552 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/test/Makefile b/test/Makefile index f8810e73f41..b555cc8e3bb 100644 --- a/test/Makefile +++ b/test/Makefile @@ -15,6 +15,7 @@ all:: qmtest # QMTest option specifying the location of the QMTest database. QMDB= -D $(LLVM_SRC_ROOT)/test/QMTestDB +QMCLASSES=$(LLVM_OBJ_ROOT)/test/QMTestDB/QMTest # # This is configuration information used by the test suite. In QM Test, it's @@ -33,7 +34,7 @@ CONTEXT= -c srcroot=$(LLVM_SRC_ROOT) \ # # Location of the QMTest program. # -QMTEST= qmtest $(QMDB) +QMTEST= QMTEST_CLASS_PATH=$(QMCLASSES) qmtest $(QMDB) # @@ -73,3 +74,9 @@ register: $(QMTEST) register test llvm.CTest $(QMTEST) register resource llvm.BytecodeResource +# +# Start up the QMTest GUI +# +gui:: + $(QMTEST) gui --no-browser --daemon +