Loading ci/run_scheduled_sanitizer_test.py +71 −64 Original line number Diff line number Diff line Loading @@ -12,9 +12,11 @@ SUPPORTED_TESTS = [ "CLANG1", "CLANG2", "CLANG3", "VALGRIND" ] EP_FILE = "ep_015.g192" GENPATT_CMD = f"gen-patt -tailstat -fer -g192 -gamma 0 -rate 0.15 -tol 0.001 -reset -n {int(DURATION) * 50} {EP_FILE}" EIDXOR_CMD = "eid-xor -vbr -fer {bitstream} {ep_file} {out_file}" MC_MODES = ["5_1", "5_1_2", "5_1_4", "7_1", "7_1_4"] SCRIPT_DIR = pathlib.Path("./scripts").resolve() def main(args): in_format = args.in_format out_formats = args.out_formats Loading @@ -34,6 +36,11 @@ def get_modes(in_format: str) -> list: list_process = subprocess.run(cmd, capture_output=True) output = list_process.stdout.decode("utf8") # correction for multichannel modes to avoid selecting some mono modes... if in_format in MC_MODES: in_format = "MC_" + in_format return [m for m in output.splitlines() if in_format in m] Loading Loading
ci/run_scheduled_sanitizer_test.py +71 −64 Original line number Diff line number Diff line Loading @@ -12,9 +12,11 @@ SUPPORTED_TESTS = [ "CLANG1", "CLANG2", "CLANG3", "VALGRIND" ] EP_FILE = "ep_015.g192" GENPATT_CMD = f"gen-patt -tailstat -fer -g192 -gamma 0 -rate 0.15 -tol 0.001 -reset -n {int(DURATION) * 50} {EP_FILE}" EIDXOR_CMD = "eid-xor -vbr -fer {bitstream} {ep_file} {out_file}" MC_MODES = ["5_1", "5_1_2", "5_1_4", "7_1", "7_1_4"] SCRIPT_DIR = pathlib.Path("./scripts").resolve() def main(args): in_format = args.in_format out_formats = args.out_formats Loading @@ -34,6 +36,11 @@ def get_modes(in_format: str) -> list: list_process = subprocess.run(cmd, capture_output=True) output = list_process.stdout.decode("utf8") # correction for multichannel modes to avoid selecting some mono modes... if in_format in MC_MODES: in_format = "MC_" + in_format return [m for m in output.splitlines() if in_format in m] Loading