summaryrefslogtreecommitdiffstats
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
commit67fdd43bff99b84b9e0825b8954efa5a158aeaf9 (patch)
tree757fa4bdc39df31f3cbf3c8f3c25b5d9115cf06b
parente84478afd98e3bc3664e5d20a90ef7b454fbc906 (diff)
downloadbcm5719-llvm-67fdd43bff99b84b9e0825b8954efa5a158aeaf9.tar.gz
bcm5719-llvm-67fdd43bff99b84b9e0825b8954efa5a158aeaf9.zip
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). :) llvm-svn: 8552
-rw-r--r--llvm/test/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/llvm/test/Makefile b/llvm/test/Makefile
index f8810e73f41..b555cc8e3bb 100644
--- a/llvm/test/Makefile
+++ b/llvm/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
+
OpenPOWER on IntegriCloud