Changeset: 84998ad97fca for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=84998ad97fca
Modified Files:
        testing/src/Mtest.py.in
Branch: Oct2010
Log Message:

Make sure the crash message is not inside a comment.
This fixes the problem that running the MonetDB4 test
tests/BugReports/no.147 reports that it crashed and that the output
was correct at the same time.


diffs (12 lines):

diff -r 0dea38cbc625 -r 84998ad97fca testing/src/Mtest.py.in
--- a/testing/src/Mtest.py.in   Wed Nov 24 11:39:46 2010 +0100
+++ b/testing/src/Mtest.py.in   Wed Nov 24 12:31:27 2010 +0100
@@ -2622,7 +2622,7 @@
 
     segfaulted = False
     # Try to detect segfaults and the like
-    TO = re.compile("(^|[\t ])(Memory [Ff]ault|Segmentation [Ff]ault|Bus 
[Ee]rror|Abort(|ed)|Assertion failed:|!FATAL: BATSIGabort:)([ \t]|$)", 
re.MULTILINE)
+    TO = re.compile("(^|^[^#]*[\t ])(Memory [Ff]ault|Segmentation [Ff]ault|Bus 
[Ee]rror|Abort(|ed)|Assertion failed:|!FATAL: BATSIGabort:)([ \t]|$)", 
re.MULTILINE)
     # FIXME: this begs for a much nicer solution (100% copy of below)
     if os.path.isfile(TestErrFile):
         for l in open(TestErrFile):
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to