From dd49d8c66952014524103cc42082d0e803dfbd7f Mon Sep 17 00:00:00 2001 From: John Criswell Date: Mon, 15 Sep 2003 21:54:49 +0000 Subject: [PATCH] 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 --- llvm/test/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/llvm/test/Makefile b/llvm/test/Makefile index 1e4111648a7a..f8810e73f41b 100644 --- a/llvm/test/Makefile +++ b/llvm/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