]> granicus.if.org Git - graphviz/commitdiff
Add workaround for lefty not built with CMake on Windows
authorMagnus Jacobsson <magnus.jacobsson@berotec.se>
Tue, 8 Sep 2020 21:45:56 +0000 (23:45 +0200)
committerMagnus Jacobsson <magnus.jacobsson@berotec.se>
Fri, 11 Sep 2020 06:04:36 +0000 (08:04 +0200)
https://gitlab.com/graphviz/graphviz/-/issues/1753

rtest/test_regression.py

index 61568b3498c464d15acbe1c9aab9ff2d08b90935..978ca1979b023604401f0d8d303a285f634a7e9a 100644 (file)
@@ -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