]> granicus.if.org Git - graphviz/commitdiff
Skip execution of smyrna in tools test for Windows MSBuilds
authorMagnus Jacobsson <magnus.jacobsson@berotec.se>
Sun, 20 Sep 2020 15:26:41 +0000 (17:26 +0200)
committerMagnus Jacobsson <magnus.jacobsson@berotec.se>
Fri, 2 Oct 2020 12:47:15 +0000 (14:47 +0200)
Fails because of missing DLLs. See
https://gitlab.com/graphviz/graphviz/-/issues/1829.

rtest/test_tools.py

index 0afe8a01b2ee7437b61f96917506a2acb7e19797..75691261d1134d8db2d5e4bf7445d08109a284ec 100644 (file)
@@ -1,3 +1,4 @@
+import os
 import pytest
 import subprocess
 
@@ -32,6 +33,12 @@ import subprocess
     'unflatten',
 ])
 def test_tools(tool):
+
+    # 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)')
+
     subprocess.check_call(
         [tool, '-?'],
         stdin=subprocess.DEVNULL,