]> granicus.if.org Git - graphviz/commitdiff
Add temporary skip of installation test for MSBuild builds on Windows
authorMagnus Jacobsson <magnus.jacobsson@berotec.se>
Mon, 27 Jul 2020 14:13:19 +0000 (16:13 +0200)
committerMagnus Jacobsson <magnus.jacobsson@berotec.se>
Thu, 30 Jul 2020 14:11:12 +0000 (16:11 +0200)
Fails because of https://gitlab.com/graphviz/graphviz/-/issues/1745.

.gitlab-ci.yml
tests/regression_tests/installation/test_installation.py

index 93527be64396f8e12c6927765832726e321a43c6..b190fe871450ceda2b042c7e2f86632c4dbff57b 100644 (file)
@@ -173,6 +173,7 @@ portable-source:
     script:
         - ci/install-packages.sh
         - export GV_VERSION=$( cat VERSION )
+        - export build_system="autotools"
         - python3 -m pytest --junitxml=report.xml tests rtest
     artifacts:
         reports:
index 7985efaceecba1f5d7c668cd9c021665ccea8852..e84f10be53288ffdb4afb3ec3ac9cd3064e604cb 100644 (file)
@@ -2,6 +2,12 @@ import pytest
 import subprocess
 import os
 
+# FIXME: Remove skip when
+# https://gitlab.com/graphviz/graphviz/-/issues/1745 is fixed
+@pytest.mark.skipif(
+    os.getenv('build_system') == 'msbuild',
+    reason='Windows msbuild executables have the wrong version (#1745)'
+)
 def test_installation():
     expected_version = os.environ['GV_VERSION']
     actual_version_string = subprocess.check_output(