mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-13 22:00:14 +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). :) llvm-svn: 8552
This commit is contained in:
parent
e84478afd9
commit
67fdd43bff
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user