From f11bf32b2a2c2e77889d95e8112e66afe22bba21 Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sat, 26 Sep 2020 09:32:39 +0200 Subject: [PATCH] Skip execution of gvpack in tools test for non-Windows CMake builds Fails becasue gvpack does not find libgvplugin_neato_layout.so.6 when built with CMake. See https://gitlab.com/graphviz/graphviz/-/issues/1838. --- rtest/test_tools.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/rtest/test_tools.py b/rtest/test_tools.py index 8155ccf95..4ec073c21 100644 --- a/rtest/test_tools.py +++ b/rtest/test_tools.py @@ -1,4 +1,5 @@ import os +import platform import pytest import re import subprocess @@ -74,6 +75,13 @@ 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/1838 is fixed + if tool == 'gvpack' and platform.system() != 'Windows': + if os.getenv('build_system') == 'cmake': + pytest.skip('gvpack does not find libgvplugin_neato_layout.so.6' + 'when built with CMake (#1838)') + output = subprocess.check_output( [tool, '-?'], stdin=subprocess.DEVNULL, -- 2.40.0