[llvm-commits] CVS: llvm/test/QMTest/llvm.py
Brian Gaeke
gaeke at cs.uiuc.edu
Thu Nov 20 19:14:00 PST 2003
Changes in directory llvm/test/QMTest:
llvm.py updated: 1.23 -> 1.24
---
Log message:
Fix test for non-matching pattern. Also make error message better.
---
Diffs of the changes: (+2 -2)
Index: llvm/test/QMTest/llvm.py
diff -u llvm/test/QMTest/llvm.py:1.23 llvm/test/QMTest/llvm.py:1.24
--- llvm/test/QMTest/llvm.py:1.23 Thu Nov 20 18:00:15 2003
+++ llvm/test/QMTest/llvm.py Thu Nov 20 19:13:36 2003
@@ -408,8 +408,8 @@
os.remove (asmfile)
else:
pat = re.compile ('must use the -march option')
- if pat.match (llcout) == None:
- result.Fail ('Native assembly file ' + asmfile + ' was not created')
+ if not pat.search (llcout):
+ result.Fail ('Native assembly file ' + asmfile + ' was not created; error output was: ' + llcout)
return
More information about the llvm-commits
mailing list