Skip to content

lalpulsar/conda/meta.yaml.in.in: fix LALPulsar tests

Karl Wette requested to merge (removed):conda-lalpulsar-fix-pkg-data-dir into master

Description

lalpulsar/conda/meta.yaml.in.in was trying to point Python tests to data files using LAL_TEST_PKGDATADIR="${LALPULSAR_DATADIR}" ..., however LALPULSAR_DATADIR is only defined in the user environment files (i.e. lalpulsar-user-env.sh) and not in the build system. See a successful job and a failed job; in both cases LAL_TEST_PKGDATADIR is undefined. Not sure why jobs were successful before, perhaps it was finding the data files in a default location (e.g. from a previous LALSuite install).

It looks like Conda runs pytest from the top source directory, so that data path should just be ./lib.

Finally, the actual files needed (ephemeris files) need to be copied over by added lib/*.dat.gz to source_files.

Closes #402 (closed)

API Changes and Justification

Backwards Compatible Changes

  • This change introduces no API changes
  • This change adds new API calls

Backwards Incompatible Changes

  • This change modifies an existing API
  • This change removes an existing API

Review Status

N/A

Edited by Karl Wette

Merge request reports