Skip to content

Move test function out of production code.

Timothy Davies requested to merge tdv-move-test-function into spiir-O4b-review

See 2.4 of https://docs.google.com/spreadsheets/d/1lQJzSIE6iUhlRQ5O4gjHBnIpsqFS7w3DQw3wX5_66P8/edit#gid=1881169084

Changes

This MR moves a function that is exclusively used by the test file gstlal-spiir/lib/LIGOLw_xmllib/test/testWriter.c into that file, and out of the production file gstlal-spiir/lib/LIGOLw_xmllib/LIGOLwWriter.c. This repeats all changes from !226 for these files.

Purpose

I intend to split !226's changes into a number of MRs, which won't be functional code versions themselves, but once complete will encompass the full set of changes to upgrade to py3.

This should provide useful code diffs for reviewers.

Merge request reports