XMM-Newton Science Analysis System
testprods (testprods-1.52) [22.0.0-9173c7d25-20250127]
Description
This package contains FITS datasets (mostly images or event lists) for use in test harnesses for a number of sas tasks.
To make use of this facility for your own task, do the following:
- Make a new subdirectory `mytask_data', or what you will, under testprods/.
- Move the data files you need to run the test harness of mytask to testprods/mytask_data/ .
The data files are preferably compressed, especially if they are big in size.
Note all the data files should have right readable/writable/executable permissions;
in particular no executable permission should be given
(otherwise compiling or uploading can fail).
- Add `mytask_data' to the DATADIRS line of testprods/Makefile.
- Check that testprods compiles ok, then upload testprods with an increment to the minor version number.
- Add lines
my $data_dir = `saslocate lib/data/mytask_data`;
chomp($data_dir);
to your perl test harness. (Shell-script preferers can, I am sure, translate.) Your files can now be found in the subdirectory name stored in the variable $data_dir. Alter command lines in the test harness to read the files from there.
- Check that this all works then upload your new version of mytask.
XMM-Newton SOC -- 2025-01-27