]> granicus.if.org Git - graphviz/commitdiff
Add skip of all tools not built for macOS in CI using autotools in tools test
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Tue, 20 Oct 2020 06:43:24 +0000 (08:43 +0200)
committerMagnus Jacobsson <magnus.jacobsson@berotec.se>
Sat, 24 Oct 2020 05:46:24 +0000 (07:46 +0200)
Fails because not all tools are built for macOS in CI using
autotools. See https://gitlab.com/graphviz/graphviz/-/issues/1854

rtest/test_tools.py

index dbb693d9d8be0d6367277b6477df70e753cc2cd5..2dfa0df3c84b5da64c4785ff18a2ea779fde8479 100644 (file)
@@ -99,6 +99,16 @@ def test_tools(tool):
         'vimdot',
     ]
 
+    tools_not_built_with_autotools_on_macos = [
+        'dotty',
+        'gvedit',
+        'lefty',
+        'lneato',
+        'mingle',
+        'smyrna',
+        'vimdot',
+    ]
+
     os_id = os.getenv('OS_ID')
 
     # FIXME: Remove skip when
@@ -134,6 +144,13 @@ def test_tools(tool):
       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/1854 is fixed
+    if os.getenv('build_system') == 'autotools':
+      if platform.system() == 'Darwin':
+        if tool in tools_not_built_with_autotools_on_macos:
+          pytest.skip(tool + ' is not built with autotools on macOS (#1854)')
+
     # FIXME: Remove skip when
     # https://gitlab.com/graphviz/graphviz/-/issues/1838 is fixed
     if tool == 'gvpack' and platform.system() != 'Windows':