From: Magnus Jacobsson Date: Tue, 8 Sep 2020 21:45:56 +0000 (+0200) Subject: Add workaround for lefty not built with CMake on Windows X-Git-Tag: 2.46.0~20^2^2~87^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3f487d8107f0c8c4fe82ed480a301a82f5f34e56;p=graphviz Add workaround for lefty not built with CMake on Windows https://gitlab.com/graphviz/graphviz/-/issues/1753 --- 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