From 3f487d8107f0c8c4fe82ed480a301a82f5f34e56 Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Tue, 8 Sep 2020 23:45:56 +0200 Subject: [PATCH] Add workaround for lefty not built with CMake on Windows https://gitlab.com/graphviz/graphviz/-/issues/1753 --- rtest/test_regression.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rtest/test_regression.py b/rtest/test_regression.py index 61568b349..978ca1979 100644 --- a/rtest/test_regression.py +++ b/rtest/test_regression.py @@ -312,6 +312,7 @@ def test_1783(): assert ret != -signal.SIGSEGV, 'Graphviz segfaulted' # FIXME: Remove skip when + # https://gitlab.com/graphviz/graphviz/-/issues/1816 is fixed @pytest.mark.skipif( platform.system() == 'Windows', @@ -331,6 +332,11 @@ def test_1813(): assert 'Usage' in output, 'gvedit -? did not show usage' +# https://gitlab.com/graphviz/graphviz/-/issues/1753 is fixed +@pytest.mark.skipif( + os.environ.get('build_system') == 'cmake', + reason='The Windows "CMake" installer does not install lefty (#1753)' +) def test_1818(): ''' lefty -? should show usage -- 2.40.0