]> granicus.if.org Git - graphviz/commitdiff
Add temporary skip of rtests using overlap=false for Windows MSBuild
authorMagnus Jacobsson <magnus.jacobsson@berotec.se>
Sat, 1 Aug 2020 16:20:40 +0000 (18:20 +0200)
committerMagnus Jacobsson <magnus.jacobsson@berotec.se>
Thu, 6 Aug 2020 09:40:35 +0000 (11:40 +0200)
Fails because of https://gitlab.com/graphviz/graphviz/-/issues/1269

rtest/rtest.py

index 7ad366ae331201e6c1f5770ae0b481e13d5eb63a..a6196ca1ea4ab67ba91ede35e8eb7a33dd6889a2 100755 (executable)
@@ -242,6 +242,17 @@ def doTest(TEST):
             .format(TESTNAME, i, SUBTEST['FMT']),
             file=sys.stderr)
       continue
+    # FIXME: Remove when https://gitlab.com/graphviz/graphviz/-/issues/1269 is
+    # fixed
+    if platform.system() == 'Windows' and \
+       os.environ.get('build_system') == 'msbuild' and \
+       '-Goverlap=false' in SUBTEST['FLAGS']:
+      print('Skipping test {0}:{1} : with flag -Goverlap=false because it fails '
+            'with Windows MSBuild builds which are not built with '
+            'triangulation library (#1269)'
+            .format(TESTNAME, i, ' '.join(SUBTEST['FLAGS'])),
+            file=sys.stderr)
+      continue
 
     result = subprocess.Popen(
        testcmd,