]> granicus.if.org Git - graphviz/commitdiff
extend CI tool check to Mingle
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 25 Oct 2020 03:06:46 +0000 (20:06 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 25 Oct 2020 19:53:02 +0000 (12:53 -0700)
Related to #1851.

ci/tests.py

index 7eb8d7a0a6b0e4c2ae4eb39af8e726cc3ec3669a..79cb70e1ebba6c8f7ca2d2c11b73c65898e3885b 100644 (file)
@@ -10,6 +10,7 @@ import subprocess
 import os
 
 @pytest.mark.parametrize('binary', [
+  'mingle',
   'smyrna',
 ])
 def test_existence(binary: str):
@@ -19,6 +20,12 @@ def test_existence(binary: str):
 
   os_id = os.getenv('OS_ID')
 
+  # FIXME: Remove skip when
+  # https://gitlab.com/graphviz/graphviz/-/issues/1835 is fixed
+  if os_id in ['ubuntu', 'centos'] and binary == 'mingle':
+    check_that_tool_does_not_exist(binary, os_id)
+    pytest.skip('mingle is not built for ' + os_id + ' (#1835)')
+
   # FIXME: Remove skip when
   # https://gitlab.com/graphviz/graphviz/-/issues/1834 is fixed
   if os_id == 'centos' and binary == 'smyrna':