Repository navigation
Fixed the parsing of the test name in utility_functions::basic_checks(). - #174
bieryAtFnal wants to merge 1 commit into
Conversation
|
To investigate this PR, I ran the above test, generating logfile In comparing these logfiles, I did not see an instance of I ran MSQT in both cases. In the area with the branches I saw In the area without the branches I saw Could you remind me of how to run the tests to see the difference? |
|
Apologies, here are hopefully better instructions for demonstrating this fix: In the banner that is printed out from the first running of the integtest, the test name that is shown is In the second test, the following is printed out: IMO, the second one is preferable, hence this fix. |
Description
I recently realized that the parsing of the
PYTEST_CURRENT_TESTvalue to produce a concise test name in our integration tests was not correctly handling cases in which the "run_dunerc" fixture has been named by the integtest developer.Different contents of
PYTEST_CURRENT_TESTare illustrated by these two values:In both cases, we want to focus on the string inside the square brackets. In the first case, we also want to strip off the "-run_dunerc0" since it doesn't provide much useful information.
The changes in this PR fixes the parsing of these strings.
Here are suggested instructions for testing these changes and showing examples of the desired concise test names: (
WIBEth_TPG_System-StandAloneSSH_PMandSmallFootprint-StandAloneSSH_PM-MultiRCAppSession:Type of change
Testing checklist
dunedaq_integtest_bundle.sh)