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

Equate the multiple ways to go around a polygon that we see in test T50.


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
@@ -102,6 +102,8 @@ norm_in  = re.compile('(?:'+')|(?:'.join
     r"^(ERROR = !ParseException: Expected )('EMPTY' or '\(')( but encountered 
: '\)')\n",                                                       # 8: 3
 # filter for AVG_of_SQRT.SF-2757642: result not always exactly 1.1
     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
 ])+')',  re.MULTILINE)
 norm_hint = '# the original non-normalized output was: '
 norm_out = (
@@ -114,6 +116,7 @@ norm_out = (
     None, None, '...', None,                                                   
                         # 7: 4
     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
 )
 
 # match "table_name" SQL table header line to normalize "(sys)?.L[0-9]*" to 
"(sys)?."
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to