[llvm-commits] CVS: llvm/test/QMTestDB/QMTest/llvm.py

John Criswell criswell at cs.uiuc.edu
Thu Oct 2 13:19:01 PDT 2003


Changes in directory llvm/test/QMTestDB/QMTest:

llvm.py updated: 1.11 -> 1.12

---
Log message:

TestRunner tests now run in their temporary directory as opposed to running
in the source tree.
This will hopefully prevent core files and bugpoint output from being dumped
into the source tree.



---
Diffs of the changes:

Index: llvm/test/QMTestDB/QMTest/llvm.py
diff -u llvm/test/QMTestDB/QMTest/llvm.py:1.11 llvm/test/QMTestDB/QMTest/llvm.py:1.12
--- llvm/test/QMTestDB/QMTest/llvm.py:1.11	Tue Sep 30 14:56:35 2003
+++ llvm/test/QMTestDB/QMTest/llvm.py	Thu Oct  2 13:18:36 2003
@@ -983,7 +983,7 @@
 		#
 		# Execute the script using TestRunner.
 		#
-		command = '/bin/sh ' + scriptfile + ' > ' + outputfile + ' 2>&1'
+		command = 'cd ' + tmpdir + ';/bin/sh ' + scriptfile + ' > ' + outputfile + ' 2>&1'
 		estatus=os.system (command)
 		if ((os.WIFEXITED(estatus)) and (os.WEXITSTATUS(estatus) != 0)):
 			result.Fail('Script: ' + scriptfile + '\n    Output: ' + outputfile)





More information about the llvm-commits mailing list