mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-05 03:36:43 +00:00
QMTest test and resource classes are always register before running the tests.
This ensures that any python bytecode generated by another platform is replaced with new pythong bytecode before the tests begin. Perferably, a better method will be implemented in the next few weeks. llvm-svn: 8549
This commit is contained in:
parent
5cbd25ea1d
commit
187283a4d6
@ -52,11 +52,13 @@ $(LLVM_OBJ_ROOT)/test/tmp::
|
||||
${MKDIR} $(LLVM_OBJ_ROOT)/test/tmp
|
||||
|
||||
#
|
||||
# Register the python code with QMTest
|
||||
# Right now, QMTest compiles the python test classes and put them into the
|
||||
# source tree. Since Python bytecode is *not* cross-platform compatible (I
|
||||
# think), we'll regenerate every time.
|
||||
#
|
||||
register:: $(LLVM_SRC_ROOT)/test/QMTestDB/QMTest/llvm.pyo
|
||||
|
||||
$(LLVM_SRC_ROOT)/test/QMTestDB/QMTest/llvm.pyo: $(LLVM_SRC_ROOT)/test/QMTestDB/QMTest/llvm.py
|
||||
# Simultaneous builds won't work, but shared source trees will.
|
||||
#
|
||||
register:
|
||||
$(QMTEST) register test llvm.TestAsmDisasm
|
||||
$(QMTEST) register test llvm.AssembleTest
|
||||
$(QMTEST) register test llvm.ConvertToCTest
|
||||
|
Loading…
x
Reference in New Issue
Block a user