Changeset: 3effd0e3cc11 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=3effd0e3cc11 Modified Files: testing/Mtest.py.in Branch: Mar2011 Log Message:
make sure we match only non-empty patterns diffs (21 lines): diff --git a/testing/Mtest.py.in b/testing/Mtest.py.in --- a/testing/Mtest.py.in +++ b/testing/Mtest.py.in @@ -1323,7 +1323,7 @@ env['TST_STATIC'] = "" if qOut: tbs = re.compile("^# Compiled for .*/([63][42]bit) with ([63][42])bit OIDs;? (.*) linked", re.MULTILINE) - tm = re.compile("^Modules: (.*)$", re.MULTILINE) + tm = re.compile("^Modules: (.+)$", re.MULTILINE) #ts = re.compile("^!ERROR: DL_open: library not found \(STATIC\).$", re.MULTILINE) for l in qOut.split('\n'): bs = tbs.match(l) @@ -1441,7 +1441,7 @@ raise TST_BATS = [] if qOut: - tb = re.compile("^BATs: (.*)$", re.MULTILINE) + tb = re.compile("^BATs: (.+)$", re.MULTILINE) for l in qOut.split('\n'): b = tb.match(l) if b: _______________________________________________ Checkin-list mailing list Checkin-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/checkin-list