]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-92906: Enable test_cext and test_cppext on Windows (#117000)
authorVictor Stinner <vstinner@python.org>
Tue, 19 Mar 2024 14:03:27 +0000 (15:03 +0100)
committerGitHub <noreply@github.com>
Tue, 19 Mar 2024 14:03:27 +0000 (14:03 +0000)
commita114d08a8912a50530ab3f19842c6ba73b0d1017
treee161344235cf2feb8d32a7a593134ec384c68e68
parent27cf3ed00cfe942f4277c273a3dda8ee2ba61fc8
gh-92906: Enable test_cext and test_cppext on Windows (#117000)

On Windows in release mode, the test_cext and test_cppext can now
build C and C++ extensions.

* test_cext now also builds the C extension without options.
* test_cppext now also builds the C++ extension without options.
* Add C++14 test to test_cppext; C++11 is not supported by MSVC.
* Make setup_venv_with_pip_setuptools_wheel() quiet when
  support.verbose is false. Only show stdout and stderr on failure.
Lib/test/support/__init__.py
Lib/test/test_cext/__init__.py
Lib/test/test_cext/extension.c
Lib/test/test_cext/setup.py
Lib/test/test_cppext/__init__.py
Lib/test/test_cppext/extension.cpp
Lib/test/test_cppext/setup.py