diff options
author | John Criswell <criswell@uiuc.edu> | 2003-09-15 21:54:49 +0000 |
---|---|---|
committer | John Criswell <criswell@uiuc.edu> | 2003-09-15 21:54:49 +0000 |
commit | 538a317d0386eb815cc77ea9324a27eda8d00cf0 (patch) | |
tree | 4bd080e480310e68b637cdf1fabb6912256dbdb7 | |
parent | 473741930e13c4834fc6a243d6e60a9bf302c343 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8549 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/test/Makefile b/test/Makefile index 1e4111648a..f8810e73f4 100644 --- a/test/Makefile +++ b/test/Makefile @@ -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 |