Changeset: c6d028e4102a for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=c6d028e4102a
Modified Files:
        testing/Mfilter.py.in
Branch: geo
Log Message:

normalize evluation order-dependent error messages for test 
geom/BugTracker/Tests/X_crash.SF-1971632.*


diffs (20 lines):

diff --git a/testing/Mfilter.py.in b/testing/Mfilter.py.in
--- a/testing/Mfilter.py.in
+++ b/testing/Mfilter.py.in
@@ -95,6 +95,8 @@ norm_in  = re.compile('(?:'+')|(?:'.join
     r'^(\[ "avg\(sqrt\(n8\)\) == 
1\.1",\s+)(1\.09999\d*|1\.10000\d*)(\s+\])\n',                                  
                               # 9: 3
     # POLYGONs can be traversed in multiple directions
     r'^(\[.*POLYGON.*\(59\.0{16} 18\.0{16}, )(59\.0{16} 13\.0{16})(, 67\.0{16} 
13\.0{16}, )(67\.0{16} 18\.0{16})(, 59\.0{16} 18\.0{16}\).*)',   # 10: 5
+    # test geom/BugTracker/Tests/X_crash.SF-1971632.* might produce different 
error messages, depending on evaluation order
+    r'^(ERROR = !MALException:geom.wkbGetCoordinate:Geometry ")(.*)(" not a 
Point)\n',                                                          # 11: 3
 ])+')',  re.MULTILINE)
 norm_hint = '# the original non-normalized output was: '
 norm_out = (
@@ -108,6 +110,7 @@ norm_out = (
     None, "'Z', 'M', 'ZM', 'EMPTY' or '('", None,                              
                         # 8: 3
     None, '1.1', None,                                                         
                         # 9: 3
     None, '67.0000000000000000 18.0000000000000000', None, 
'59.0000000000000000 13.0000000000000000', None, # 10: 5
+    None, '...', None,                                                         
                         # 11: 3
 )
 
 # match "table_name" SQL table header line to normalize "(sys)?.L[0-9]*" to 
"(sys)?."
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to