| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
Co-authored-by: da-woods <dw-git@d-woods.co.uk>
|
|
|
|
|
|
|
|
|
| |
This is a quick-and-dirty way to run the C++ tests.
It can definitely be improved in the future, but it should fail when things go wrong.
- Run test functions on import (yes, this can definitely be improved)
- Fudge setuptools metadata (name & version) to make the extension installable
- Install and import the extension in test_cppext
|
|
|
|
| |
Don't build _testcppext.cpp with -Wzero-as-null-pointer-constant when
testing C++03: only use this compiler flag with C++11.
|
|
|
|
|
| |
Fix the compatibility of the Python C API with C++ older than C++11.
_Py_NULL is only defined as nullptr on C++11 and newer.
|
|
Rewrite test_cppext to run in a virtual environment and to build the
C++ extension with setuptools rather than distutils.
|