[llvm-commits] CVS: llvm/test/Makefile

John Criswell criswell at cs.uiuc.edu
Mon Sep 15 16:55:02 PDT 2003


Changes in directory llvm/test:

Makefile updated: 1.38 -> 1.39

---
Log message:

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.


---
Diffs of the changes:

Index: llvm/test/Makefile
diff -u llvm/test/Makefile:1.38 llvm/test/Makefile:1.39
--- llvm/test/Makefile:1.38	Mon Sep  8 16:25:35 2003
+++ llvm/test/Makefile	Mon Sep 15 16:54:49 2003
@@ -52,11 +52,13 @@
 	${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





More information about the llvm-commits mailing list