Use chainComp.py in slice reproducibility test
Changes to chainComp.py
:
- Make producing a git patch file optional with the
--patch
command line flag. Adapt the two tests which run chainComp in CI to use this flag. - Add an option
--matchingOnly
to skip reporting added and removed chains and compare only the common set of chains between the reference and input files.
Changes to test_trig_mc_v1Dev_slice_reproducibility_build.py
:
- Remove the custom counts comparison and replace it by simple calls to
chainComp.py
. The old solution was broken since menu alignment caused step numbers to differ between slice and full menu configuration.chainComp.py
renumbers the steps starting from 0, which makes the step counts comparison possible even with the menu alignment.
Fixes ATR-20706