| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Add an explicit cast to (void*) and add Py_UNUSED() to fix some
warnings in extension.c.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Remove -std option from CC command line.
Skip C++14 test for now on non-Windows platforms (like RHEL7).
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Remove the "if Py_GIL_DISABLED" skip and move all "skip" decorators
to the class. Use support.check_sanitizer()
|
|
|
| |
Add also test.support.Py_GIL_DISABLED constant.
|
|
|
| |
Rename Py_NOGIL to Py_GIL_DISABLED
|
| |
|
|
|
|
| |
The current version of pip does not support "t" in the ABI flags. Skip
the test in `--disable-gil` builds until we can update pip.
|
|
|
|
| |
Only mark tests which spend significant system or user time,
by itself or in subprocesses.
|
|
|
|
| |
Fix test_cppext when the C compiler command has the "-std=c11" option.
Remove "-std=" options from the compiler command.
|
|
* 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.
|