summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_cext/extension.c
Commit message (Collapse)AuthorAgeFilesLines
* test_cext, test_cppext: enable /W4 warnings on Windows (#124253)Victor Stinner2024-09-191-2/+8
| | | | Add an explicit cast to (void*) and add Py_UNUSED() to fix some warnings in extension.c.
* gh-118124: Use static_assert() in Py_BUILD_ASSERT() on C11 (#118398)Victor Stinner2024-04-301-0/+5
| | | | | | Use static_assert() in Py_BUILD_ASSERT() and Py_BUILD_ASSERT_EXPR() on C11 and newer and C++11 and newer. Add tests to test_cext and test_cppext.
* gh-92906: Enable test_cext and test_cppext on Windows (#117000)Victor Stinner2024-03-191-0/+2
| | | | | | | | | | 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.
* gh-116869: Test the limited C API in test_cext (#116995)Victor Stinner2024-03-191-10/+6
|
* gh-116869: Add test_cext test: build a C extension (#116954)Victor Stinner2024-03-181-0/+80