Loading .gitlab-ci.yml +2 −1 Original line number Diff line number Diff line Loading @@ -481,7 +481,8 @@ codec-comparison-on-main-push: when: always paths: - ep_015.g192 - "CLANG*/logs" # second wildcard is necessary to get encoder and no-PLC run logs - "CLANG*/logs*" sanitizer-test-mono: extends: .sanitizer-test-template Loading ci/run_scheduled_sanitizer_test.py +11 −3 Original line number Diff line number Diff line Loading @@ -93,12 +93,20 @@ def run_check(modes: list, out_formats: list, tests: list, run_fec: bool = True) subprocess.call(GENPATT_CMD.split()) # cleanup to avoid script errors # we want "logs" and "dec" subfolders to be empty -> delete and recreate them cleanup_folders = ["logs", "dec"] # we want "logs" and "dec" subfolders to be empty -> delete "dec" and rename "log" # to keep the log files from the first run with no frame losses folders_to_delete = ["dec"] folders_to_backup = ["logs"] for t in tests: for fol in cleanup_folders: for fol in folders_to_delete: for fi in pathlib.Path(t).joinpath(fol).iterdir(): fi.unlink() for fol in folders_to_backup: path = pathlib.Path(t).joinpath(fol) new_name = pathlib.Path(str(path) + "_noPLC") path.rename(new_name) # need empty log folder to avoid crashes path.mkdir() cmd_fec = cmd_no_fec + ["--decoder_only", "-f", EP_FILE] print("======== Script command line WITH plc: ========\n{}".format(" ".join(cmd_no_fec))) Loading Loading
.gitlab-ci.yml +2 −1 Original line number Diff line number Diff line Loading @@ -481,7 +481,8 @@ codec-comparison-on-main-push: when: always paths: - ep_015.g192 - "CLANG*/logs" # second wildcard is necessary to get encoder and no-PLC run logs - "CLANG*/logs*" sanitizer-test-mono: extends: .sanitizer-test-template Loading
ci/run_scheduled_sanitizer_test.py +11 −3 Original line number Diff line number Diff line Loading @@ -93,12 +93,20 @@ def run_check(modes: list, out_formats: list, tests: list, run_fec: bool = True) subprocess.call(GENPATT_CMD.split()) # cleanup to avoid script errors # we want "logs" and "dec" subfolders to be empty -> delete and recreate them cleanup_folders = ["logs", "dec"] # we want "logs" and "dec" subfolders to be empty -> delete "dec" and rename "log" # to keep the log files from the first run with no frame losses folders_to_delete = ["dec"] folders_to_backup = ["logs"] for t in tests: for fol in cleanup_folders: for fol in folders_to_delete: for fi in pathlib.Path(t).joinpath(fol).iterdir(): fi.unlink() for fol in folders_to_backup: path = pathlib.Path(t).joinpath(fol) new_name = pathlib.Path(str(path) + "_noPLC") path.rename(new_name) # need empty log folder to avoid crashes path.mkdir() cmd_fec = cmd_no_fec + ["--decoder_only", "-f", EP_FILE] print("======== Script command line WITH plc: ========\n{}".format(" ".join(cmd_no_fec))) Loading