Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L lalsuite
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 115
    • Issues 115
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 34
    • Merge requests 34
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • lscsoft
  • lalsuite
  • Merge requests
  • !1912

SWIG debugging tools

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Karl Wette requested to merge ANU-CGA/lalsuite:swig-debug-tools into master Jul 16, 2022
  • Overview 0
  • Commits 2
  • Pipelines 0
  • Changes 18

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

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: swig-debug-tools