Modified the bundle script to handle non-standard pytest output directories... #282
+41
−8
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…, both ones that are specified in the environment and ones that are specified in command line arguments.
Description
This PR is correlated with DUNE-DAQ/integrationtest#140.
The changes in this PR include ones that should have been included in the bundle script previously and ones that add new functionality. In particular,
The logic that is used to determine if a non-standard pytest output directory has been specified in the Linux shell environment has the following features.
integrationtestrepo and a Python script in this repo.Here is a screenshot of the Google search output:

To provide consistent behavior between the bundle script and the integtest that currently checks the amount of free space on the output disk (
long_window_readout_test.py), the latter was modified to make use of the newget_pytest_tmpdirfunction from theintegtestrepo.These changes can be tested by specifying a
--tmpdircommand-line option to the bundle script, or by setting some combination of the following environmental variables to an existing directory on the local computer:PYTEST_DEBUG_TEMPROOT,TMPDIR,TEMP,TMP.The following instructions may also be useful:
Type of change
Testing checklist
dbt-build --unittest)pytest -s minimal_system_quick_test.py)daqsystemtest_integtest_bundle.sh)Further checks