Allow multiple object trees to use the source tree tests at once by
authorJohn Criswell <criswell@uiuc.edu>
Tue, 16 Sep 2003 02:59:26 +0000 (02:59 +0000)
committerJohn Criswell <criswell@uiuc.edu>
Tue, 16 Sep 2003 02:59:26 +0000 (02:59 +0000)
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

index f8810e73f41b83af47d63a86704941c5d45c0b58..b555cc8e3bb3771ca798f912fe106d488444c70e 100644 (file)
@@ -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
+