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
This commit is contained in:
John Criswell 2003-09-16 02:59:26 +00:00
parent 08acb9b87f
commit 1ce5c596a2

View 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