]> granicus.if.org Git - graphviz/commitdiff
Skip execution of gvpack in tools test for non-Windows CMake builds
authorMagnus Jacobsson <magnus.jacobsson@berotec.se>
Sat, 26 Sep 2020 07:32:39 +0000 (09:32 +0200)
committerMagnus Jacobsson <magnus.jacobsson@berotec.se>
Fri, 2 Oct 2020 12:50:35 +0000 (14:50 +0200)
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

index 8155ccf95b291a0b4ff5f103b4d303058a74210f..4ec073c214c079bd194b4cb752771a14d42636a7 100644 (file)
@@ -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,