]> granicus.if.org Git - graphviz/commitdiff
Add temporary skip of rtests using ps shapefile on Windows
authorMagnus Jacobsson <magnus.jacobsson@berotec.se>
Wed, 5 Aug 2020 05:32:42 +0000 (07:32 +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/1790

rtest/rtest.py

index e00bd1e84c430c13ec23a844d408f76612618c3c..1e042dc3f29a91c7dc7d08112df4d9be68b73188 100755 (executable)
@@ -284,6 +284,15 @@ def doTest(TEST):
             .format(TESTNAME, i, ' '.join(SUBTEST['FLAGS'])),
             file=sys.stderr)
       continue
+    # FIXME: Remove when https://gitlab.com/graphviz/graphviz/-/issues/1790 is
+    # fixed
+    if platform.system() == 'Windows' and \
+       TESTNAME == 'ps_user_shapes':
+      print('Skipping test {0}:{1} : using PostScript shapefile because it '
+            'fails with Windows builds (#1790)'
+            .format(TESTNAME, i, ' '.join(SUBTEST['FLAGS'])),
+            file=sys.stderr)
+      continue
 
     result = subprocess.Popen(
        testcmd,