From 889b893d63c3a18f27667307ac8530333d60593b Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Tue, 8 Feb 2022 14:14:02 +1100 Subject: [PATCH] add a test case for #1786 --- rtest/test_regression.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/rtest/test_regression.py b/rtest/test_regression.py index 84dfdbb68..f0e856dd6 100644 --- a/rtest/test_regression.py +++ b/rtest/test_regression.py @@ -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(): """ -- 2.40.0