]> granicus.if.org Git - graphviz/commitdiff
Add temporary skip of format png:gd for Windows CMake rtest
authorMagnus Jacobsson <magnus.jacobsson@berotec.se>
Fri, 31 Jul 2020 22:03:05 +0000 (00:03 +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/1786

rtest/rtest.py

index 81d06bdc13b87716a902618d28f94e75f7d1652b..7ad366ae331201e6c1f5770ae0b481e13d5eb63a 100755 (executable)
@@ -232,6 +232,16 @@ def doTest(TEST):
       print(' '.join(testcmd))
     if NOOP:
       continue
+    # FIXME: Remove when https://gitlab.com/graphviz/graphviz/-/issues/1786 is
+    # fixed
+    if platform.system() == 'Windows' and \
+       os.environ.get('build_system') == 'cmake' and \
+       SUBTEST['FMT'] == 'png:gd':
+      print('Skipping test {0}:{1} : format {2} because Windows CMake builds '
+            'does not support format png:gd (#1786)'
+            .format(TESTNAME, i, SUBTEST['FMT']),
+            file=sys.stderr)
+      continue
 
     result = subprocess.Popen(
        testcmd,