From 7196c6ea0414789fd794a063054654913583b70f Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sun, 22 Nov 2020 13:51:25 +0100 Subject: [PATCH] Add skip of gvpr bbox & col test also for Windows CMake builds Fails because of https://gitlab.com/graphviz/graphviz/-/issues/1784. --- rtest/test_examples.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/rtest/test_examples.py b/rtest/test_examples.py index 3c8433408..81e7db676 100644 --- a/rtest/test_examples.py +++ b/rtest/test_examples.py @@ -75,11 +75,13 @@ def test_gvpr_example(src): '''check GVPR can parse the given example''' # FIXME: remove when https://gitlab.com/graphviz/graphviz/-/issues/1784 is fixed - if os.environ.get('build_system') == 'msbuild' and \ - os.environ.get('configuration') == 'Debug' and \ + if ((os.environ.get('build_system') == 'msbuild' and \ + os.environ.get('configuration') == 'Debug') or + (platform.system() == 'Windows' and \ + os.environ.get('build_system') == 'cmake')) and \ src in ['bbox', 'col']: pytest.skip('GVPR tests "bbox" and "col" hangs on Windows MSBuild Debug ' - 'builds (#1784)') + 'builds and Windows CMake builds (#1784)') # construct a relative path to the example because gvpr on Windows does not # support absolute paths (#1780) -- 2.40.0