Skip to content

Fix behaviour of check_logParser when adding directories that contain common includes

Spyros Argyropoulos requested to merge (removed):master into master

Since scripts/check_logParser.py would look for a log.generate file in all new directories added in a commit the 421002 directory would fail the pipeline: see https://gitlab.cern.ch/sargyrop/mcjoboptions/commit/d5a315d339b66be207dc37bf6728a5e29ecbbc31/pipelines?ref=check_common because it would search for log.generate not only in 421002/ but also in 421002/Sherpa_i/

This MR fixes this so that log.generate files are searched for only in directories containing jO named like mc[0-9][0-9].*.py

The successful pipeline after the fix is shown https://gitlab.cern.ch/sargyrop/mcjoboptions/commit/1e0f2f32dd64fb0b8e3b25526102a3eed2d0e8af/pipelines?ref=check_common

Edited by Spyros Argyropoulos

Merge request reports

Loading