From: Magnus Jacobsson Date: Tue, 11 Aug 2020 15:46:46 +0000 (+0200) Subject: Enable test_1767 on Windows for CMake builds X-Git-Tag: 2.46.0~20^2^2~118^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b075678146a7f3276a76ad18e8e0b954ff9b50e7;p=graphviz Enable test_1767 on Windows for CMake builds The test is still skipped for MSBuild builds because of https://gitlab.com/graphviz/graphviz/-/issues/1777 --- diff --git a/rtest/test_regression.py b/rtest/test_regression.py index b6d466f72..8c331b1d2 100644 --- a/rtest/test_regression.py +++ b/rtest/test_regression.py @@ -255,11 +255,10 @@ def test_1767(): https://gitlab.com/graphviz/graphviz/-/issues/1767 ''' - # FIXME: some of the Windows CI builds don't install libcgraph that this - # test depends on. Others fail the execution of the compiled binary for - # unknown reasons. - if platform.system() == 'Windows': - pytest.skip('test disabled on Windows') + # FIXME: Remove skip when + # https://gitlab.com/graphviz/graphviz/-/issues/1777 is fixed + if os.getenv('build_system') == 'msbuild': + pytest.skip('Windows MSBuild release does not contain any header files (#1777)') # find co-located test source c_src = os.path.abspath(os.path.join(os.path.dirname(__file__), '1767.c'))