From: Magnus Jacobsson Date: Tue, 20 Oct 2020 06:43:24 +0000 (+0200) Subject: Add skip of all tools not built for macOS in CI using autotools in tools test X-Git-Tag: 2.46.0~20^2^2~15^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2876f77bbb2ca8c52c7dfd1bae5e22827d89111c;p=graphviz Add skip of all tools not built for macOS in CI using autotools in tools test Fails because not all tools are built for macOS in CI using autotools. See https://gitlab.com/graphviz/graphviz/-/issues/1854 --- diff --git a/rtest/test_tools.py b/rtest/test_tools.py index dbb693d9d..2dfa0df3c 100644 --- a/rtest/test_tools.py +++ b/rtest/test_tools.py @@ -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':