Skip to content

lal/swig/SWIGTestLALPython.py: fix logic of MEMORY_FUNCTIONS_DISABLED check

Karl Wette requested to merge ANU-CGA/lalsuite:SWIGTestLALPython-fix into master

Description

Logic was wrong way around; memory allocation tests should be skipped in lal.MEMORY_FUNCTIONS_DISABLED is true, i.e. the memory tracking features of XLALMalloc() et al. are not available.

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

cc @duncanmmacleod

Merge request reports