]> granicus.if.org Git - graphviz/commitdiff
Add temporary skip of examples test for MSBuild builds on Windows
authorMagnus Jacobsson <magnus.jacobsson@berotec.se>
Mon, 27 Jul 2020 21:07:25 +0000 (23:07 +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/1777.

rtest/test_examples.py

index 412795ce4075acadb13ff1ace2825895860ed8e6..5d6b652292c35125315db40523b74a0ff19e7c20 100644 (file)
@@ -15,6 +15,12 @@ def c_compiler():
 
 @pytest.mark.parametrize('src', ['demo.c', 'dot.c', 'example.c', 'neatopack.c',
   'simple.c'])
+# FIXME: Remove skip when
+# https://gitlab.com/graphviz/graphviz/-/issues/1777 is fixed
+@pytest.mark.skipif(
+    os.getenv('build_system') == 'msbuild',
+    reason='Windows MSBuild release does not contain any header files (#1777)'
+)
 def test_compile_example(src):
     '''try to compile the example'''