You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to make sure HPy headers are fully C++ compatible, we need to have C++ tests that exercise all macros and static inline functions. Some ideas:
use pycparser to extract a list of all static inline functions and macros from the headers
can pycparser do that?
check that the tests are calling all of them
how to check? Just "grep" the test sources may be enough?
how to test?
pytest tests (maybe we can reuse some existing ones and just run them with C++ compiler)
With #321 we are running the tests with a C++ compiler. What remains is to make sure that we test all macros and inline functions, but in general we may want to do some test coverage that would show this too.
In order to make sure HPy headers are fully C++ compatible, we need to have C++ tests that exercise all macros and static inline functions. Some ideas:
Related:
The text was updated successfully, but these errors were encountered: