QMTest test and resource classes are always register before running the tests.
[oota-llvm.git] / test / Makefile
index 1e4111648a7ae13e34f02f683ec468f63c3adaf0..f8810e73f41b83af47d63a86704941c5d45c0b58 100644 (file)
@@ -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