]> granicus.if.org Git - graphviz/commitdiff
Add temporary skip of rtests using shapefile for Windows MSBuild Debug
authorMagnus Jacobsson <magnus.jacobsson@berotec.se>
Sun, 2 Aug 2020 07:17:02 +0000 (09:17 +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/1787

rtest/rtest.py

index a6196ca1ea4ab67ba91ede35e8eb7a33dd6889a2..2d5778e2fb598542b615e522ce685af927696336 100755 (executable)
@@ -253,6 +253,17 @@ def doTest(TEST):
             .format(TESTNAME, i, ' '.join(SUBTEST['FLAGS'])),
             file=sys.stderr)
       continue
+    # FIXME: Remove when https://gitlab.com/graphviz/graphviz/-/issues/1787 is
+    # fixed
+    if platform.system() == 'Windows' and \
+       os.environ.get('build_system') == 'msbuild' and \
+       os.environ.get('configuration') == 'Debug' and \
+       TESTNAME == 'user_shapes':
+      print('Skipping test {0}:{1} : using shapefile because it fails '
+            'with Windows MSBuild Debug builds (#1787)'
+            .format(TESTNAME, i, ' '.join(SUBTEST['FLAGS'])),
+            file=sys.stderr)
+      continue
 
     result = subprocess.Popen(
        testcmd,