]> granicus.if.org Git - graphviz/commitdiff
CI: get more precise about when #1786 test case fails
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 9 Feb 2022 12:11:36 +0000 (23:11 +1100)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 15 Feb 2022 20:38:41 +0000 (07:38 +1100)
ci/tests.py

index 1d2d9df6da6298eca914055f843a744575a93caf..549c2d32878df984ac7dda48c79bfcdab92d6d2a 100644 (file)
@@ -149,7 +149,9 @@ def check_that_tool_does_not_exist(tool, os_id):
   assert shutil.which(tool) is None, f"{tool} has been resurrected in the " \
     f'{os.getenv("build_system")} build on {os_id}. Please remove skip.'
 
-@pytest.mark.xfail(strict=is_cmake()) # FIXME
+@pytest.mark.xfail(is_cmake(),
+                   reason="png:gd unavailable when built with CMake",
+                   strict=True) # FIXME
 def test_1786():
   """
   png:gd format should be supported