lalpulsar_bin_test_compiler: add developer option NONEWTESTDIR
Description
lalpulsar_bin_test_compiler
is the script which sets up / tears down tests under lalpulsar/bin/
. This includes creating a temporary directory for each test, which is then deleted afterwards. Sometimes, when developing tests, it's useful to prevent the temporary directory from being regenerated before each test. For example, if the test runs some code which takes a while, you might not to re-run the code all the time during development, but instead run it once and keep the results.
This MR adds an option NONEWTESTDIR=1
which re-uses the existing temporary test directory, instead of regenerating it before a test. This complements the existing option NOCLEANUP=1
which prevents the temporary test directory from being deleted after a test. Both options can be passed directly to make check
as environment variables.
Note that this option is for development purposes only and should not be set when running make check
normally.
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