]> granicus.if.org Git - graphviz/commitdiff
Skip execution of all tools not built with MSBuild in tools test for MSBuild builds
authorMagnus Jacobsson <magnus.jacobsson@berotec.se>
Sat, 26 Sep 2020 08:09:00 +0000 (10:09 +0200)
committerMagnus Jacobsson <magnus.jacobsson@berotec.se>
Fri, 2 Oct 2020 12:50:35 +0000 (14:50 +0200)
Fails because not all tools are built with MSBuild. See
https://gitlab.com/graphviz/graphviz/-/issues/1837.

rtest/test_tools.py

index c3ed37e3ba9c6054818409c9ec7198a071c712e1..ce8e693dd815ff426bd76ac9a91e32439de3db4d 100644 (file)
@@ -81,6 +81,24 @@ def test_tools(tool):
         'vimdot',
     ]
 
+    tools_not_built_with_msbuild = [
+        'circo',
+        'cluster',
+        'dot2gxl',
+        'dot_builtins',
+        'fdp',
+        'gv2gxl',
+        'gvedit',
+        'gvmap.sh',
+        'gxl2dot',
+        'neato',
+        'osage',
+        'patchwork',
+        'sfdp',
+        'twopi',
+        'vimdot',
+    ]
+
     os_id = os.getenv('OS_ID')
 
     # FIXME: Remove skip when
@@ -105,6 +123,12 @@ def test_tools(tool):
       if tool in tools_not_built_with_cmake:
         pytest.skip(tool + ' is not built with CMake (#1753 & #1836)')
 
+    # FIXME: Remove skip when
+    # https://gitlab.com/graphviz/graphviz/-/issues/1837 is fixed
+    if os.getenv('build_system') == 'msbuild':
+      if tool in tools_not_built_with_msbuild:
+        pytest.skip(tool + ' is not built with MSBuild (#1837)')
+
     # FIXME: Remove skip when
     # https://gitlab.com/graphviz/graphviz/-/issues/1838 is fixed
     if tool == 'gvpack' and platform.system() != 'Windows':