Skip to content

SWIG debugging tools

Karl Wette requested to merge ANU-CGA/lalsuite:swig-debug-tools into master

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 affect make check, but makes it easier to run the SWIG tests under a debugger. Indeed running cd swig/ && make debug-{octave|python}-test will run the SWIG tests under gdb --args.
  • Add the SWIG-generated sources swiglal_octave.cpp and swiglal_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

Merge request reports

Loading