SWIG debugging tools
Description
A few things to help debugging SWIG-related issues:
- Run the SWIG tests with the "nasty" error handlers which
abort()
on error, rather than raising an exception. This doesn't affectmake check
, but makes it easier to run the SWIG tests under a debugger. Indeed runningcd swig/ && make debug-{octave|python}-test
will run the SWIG tests undergdb --args
. - Add the SWIG-generated sources
swiglal_octave.cpp
andswiglal_python.c
to the CI job artifacts, so that the sources can be examined in the event of job failures.
API Changes and Justification
Backwards Compatible Changes
-
This change does not modify any class/function/struct/type definitions in a public C header file or any Python class/function definitions -
This change adds new classes/functions/structs/types to a public C header file or Python module
Backwards Incompatible Changes
-
This change modifies an existing class/function/struct/type definition in a public C header file or Python module -
This change removes an existing class/function/struct/type from a public C header file or Python module
Review Status
N/A