]> granicus.if.org Git - graphviz/commitdiff
add a test case for #1786
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 8 Feb 2022 03:14:02 +0000 (14:14 +1100)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 12 Feb 2022 20:02:02 +0000 (07:02 +1100)
rtest/test_regression.py

index 84dfdbb68bfc16179b7f2879267786492154810a..f0e856dd602c0df9e98a1e7aed555eb5d41a1954 100644 (file)
@@ -627,6 +627,16 @@ def test_1783():
 
   assert ret != -signal.SIGSEGV, "Graphviz segfaulted"
 
+@pytest.mark.xfail(strict=os.getenv("build_system") == "cmake") # FIXME
+def test_1786():
+  """
+  png:gd format should be supported
+  https://gitlab.com/graphviz/graphviz/-/issues/1786
+  """
+
+  # run a trivial graph through Graphviz
+  dot("png:gd", source="digraph { a -> b; }")
+
 @pytest.mark.skipif(shutil.which("gvedit") is None, reason="Gvedit not available")
 def test_1813():
   """