]> granicus.if.org Git - graphviz/commitdiff
Skip execution of smyrna in tools test for Centos builds
authorMagnus Jacobsson <magnus.jacobsson@berotec.se>
Fri, 25 Sep 2020 14:55:14 +0000 (16:55 +0200)
committerMagnus Jacobsson <magnus.jacobsson@berotec.se>
Fri, 2 Oct 2020 12:47:15 +0000 (14:47 +0200)
Fails because smyrna is not built for Centos. See
https://gitlab.com/graphviz/graphviz/-/issues/1834.

rtest/test_tools.py

index 75691261d1134d8db2d5e4bf7445d08109a284ec..40d6466e27530b23652708da5144e562884f697c 100644 (file)
@@ -34,11 +34,18 @@ import subprocess
 ])
 def test_tools(tool):
 
+    os_id = os.getenv('OS_ID')
+
     # FIXME: Remove skip when
     # https://gitlab.com/graphviz/graphviz/-/issues/1829 is fixed
     if tool == 'smyrna' and os.getenv('build_system') == 'msbuild':
       pytest.skip('smyrna fails to start because of missing DLLs in Windows MSBuild builds (#1829)')
 
+    # FIXME: Remove skip when
+    # https://gitlab.com/graphviz/graphviz/-/issues/1834 is fixed
+    if tool == 'smyrna' and os_id == 'centos':
+      pytest.skip('smyrna is not built for Centos (#1834)')
+
     subprocess.check_call(
         [tool, '-?'],
         stdin=subprocess.DEVNULL,