mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
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:
parent
08acb9b87f
commit
1ce5c596a2
@ -15,6 +15,7 @@ all:: qmtest
|
|||||||
|
|
||||||
# QMTest option specifying the location of the QMTest database.
|
# QMTest option specifying the location of the QMTest database.
|
||||||
QMDB= -D $(LLVM_SRC_ROOT)/test/QMTestDB
|
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
|
# 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.
|
# 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 test llvm.CTest
|
||||||
$(QMTEST) register resource llvm.BytecodeResource
|
$(QMTEST) register resource llvm.BytecodeResource
|
||||||
|
|
||||||
|
#
|
||||||
|
# Start up the QMTest GUI
|
||||||
|
#
|
||||||
|
gui::
|
||||||
|
$(QMTEST) gui --no-browser --daemon
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user