aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_cppext/setup.py
Commit message (Collapse)AuthorAge
* gh-127906: Add missing sys import to test_cppext (#132902)Victor Stinner2025-04-25
|
* gh-129666: Add C11/C++11 to docs and -pedantic-errors to GCC/clang ↵Petr Viktorin2025-03-04
| | | | | | | | | test_c[pp]ext tests (GH-130692) Disable pedantic check for c++03 (unlimited API) Also add a check for c++03 *limited* API, which passes in pedantic mode after removing a comma in the `PySendResult` declaration, and allowing `long long`.
* gh-129666: Revert "gh-129666: Add C11/C++11 to docs and `-pedantic-errors` ↵Petr Viktorin2025-02-28
| | | | | to GCC/clang test_c[pp]ext tests (GH-130686)" (GH-130688) This reverts commit 003e6d2b9776c07147a9c628eb028fd2ac3f0008.
* gh-129666: Add C11/C++11 to docs and `-pedantic-errors` to GCC/clang ↵Petr Viktorin2025-02-28
| | | | test_c[pp]ext tests (GH-130686)
* gh-127906: Test the limited C API in test_cppext (#127916)Victor Stinner2024-12-13
|
* test_cext, test_cppext: enable /W4 warnings on Windows (#124253)Victor Stinner2024-09-19
| | | | Add an explicit cast to (void*) and add Py_UNUSED() to fix some warnings in extension.c.
* Check for compiler warnings in test_cext on Windows (#121088)Victor Stinner2024-06-28
| | | | | | | | On Windows, test_cext and test_cppext now pass /WX flag to the MSC compiler to treat all compiler warnings as errors. In verbose mode, these tests now log the compiler commands to help debugging. Change Py_BUILD_ASSERT_EXPR implementation on Windows to avoid a compiler warning about an unnamed structure.
* gh-116869: Fix test_cext on RHEL7 (#117010)Victor Stinner2024-03-19
| | | | | Remove -std option from CC command line. Skip C++14 test for now on non-Windows platforms (like RHEL7).
* gh-92906: Enable test_cext and test_cppext on Windows (#117000)Victor Stinner2024-03-19
| | | | | | | | | | 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.
* Add support.MS_WINDOWS constant (#110446)Victor Stinner2023-10-06
|
* gh-105776: Fix test_cppext when CC contains -std=c11 option (#108343)Victor Stinner2023-08-23
| | | | Fix test_cppext when the C compiler command has the "-std=c11" option. Remove "-std=" options from the compiler command.
* gh-108303: Add Lib/test/test_cppext/ sub-directory (#108325)Victor Stinner2023-08-22
* Move test_cppext to its own directory * Rename setup_testcppext.py to setup.py * Rename _testcppext.cpp to extension.cpp * The source (extension.cpp) is now also copied by the test.