Skip to content

Replaced the relative path to the daqsystemtest/example-configs.data.xml file...#29

Merged
bieryAtFnal merged 2 commits intodevelopfrom
kbiery/remove_relative_DB_path
Jan 26, 2026
Merged

Replaced the relative path to the daqsystemtest/example-configs.data.xml file...#29
bieryAtFnal merged 2 commits intodevelopfrom
kbiery/remove_relative_DB_path

Conversation

@bieryAtFnal
Copy link
Contributor

…in the integtest with a path based on the DAQSYSTEMTEST_SHARE environmental variable.

Description

I've noticed that we can't run the crtmodules/integtest/crt_reader_test from a base release. But, it can be run from a local software area.

John pointed out that the location of the base configuration file was specified in the integtest using a relative path, which may or may not work outside of a local software area.

The change in this PR is to make use of the DAQSYSTEMTEST_SHARE env var instead of a relative path.

A good test of this change is to confirm that the integtest still works when the package is included in a local software area. The true test of the change will come when we get a nightly build with this change included.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Testing checklist

  • Full set of integration tests pass (pytest -s crt_reader_test.py)

Further checks

  • Code is commented where needed, particularly in hard-to-understand areas

Kurt Biery added 2 commits January 22, 2026 10:35
…xml file in the integration test with a path based on the DAQSYSTEMTEST_SHARE environmental variable.
…EST_SHARE env var in the location of the example-configs.data.xml file.
Copy link
Contributor

@denizergonul denizergonul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed that if there's daqsystemtest in the local area, it is used; otherwise, cvmfs is used. LGTM.

@bieryAtFnal bieryAtFnal merged commit 391b40e into develop Jan 26, 2026
3 of 4 checks passed
@bieryAtFnal bieryAtFnal deleted the kbiery/remove_relative_DB_path branch January 26, 2026 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants