summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2003-09-16 02:59:26 +0000
committerJohn Criswell <criswell@uiuc.edu>2003-09-16 02:59:26 +0000
commit1ce5c596a206acb80d8dc58abae6bd0029befba9 (patch)
tree0ea0147a3b4f11f61672029a4afeef3fb3106edf /test
parent08acb9b87f580cb5bd1665e3e82a5d7c1a916baa (diff)
downloadllvm-1ce5c596a206acb80d8dc58abae6bd0029befba9.tar.gz
llvm-1ce5c596a206acb80d8dc58abae6bd0029befba9.tar.bz2
llvm-1ce5c596a206acb80d8dc58abae6bd0029befba9.tar.xz
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
Diffstat (limited to 'test')
-rw-r--r--test/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile
index f8810e73f4..b555cc8e3b 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
+