From: Magnus Jacobsson Date: Fri, 25 Sep 2020 14:55:14 +0000 (+0200) Subject: Skip execution of smyrna in tools test for Centos builds X-Git-Tag: 2.46.0~20^2^2~55^2~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=783ad8f43e639be59401dfeb5c9053a3901d7ae8;p=graphviz Skip execution of smyrna in tools test for Centos builds Fails because smyrna is not built for Centos. See https://gitlab.com/graphviz/graphviz/-/issues/1834. --- diff --git a/rtest/test_tools.py b/rtest/test_tools.py index 75691261d..40d6466e2 100644 --- a/rtest/test_tools.py +++ b/rtest/test_tools.py @@ -34,11 +34,18 @@ import subprocess ]) def test_tools(tool): + os_id = os.getenv('OS_ID') + # FIXME: Remove skip when # https://gitlab.com/graphviz/graphviz/-/issues/1829 is fixed if tool == 'smyrna' and os.getenv('build_system') == 'msbuild': pytest.skip('smyrna fails to start because of missing DLLs in Windows MSBuild builds (#1829)') + # FIXME: Remove skip when + # https://gitlab.com/graphviz/graphviz/-/issues/1834 is fixed + if tool == 'smyrna' and os_id == 'centos': + pytest.skip('smyrna is not built for Centos (#1834)') + subprocess.check_call( [tool, '-?'], stdin=subprocess.DEVNULL,