Loading .gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ variables: BUILD_OUTPUT: "build_output.txt" EVS_BE_TEST_DIR: "/usr/local/be_2_evs_test" EVS_BE_WIN_TEST_DIR: "C:/Users/gitlab-runner/testvec" SANITIZER_TESTS: "CLANG1 CLANG2" SANITIZER_TESTS: "CLANG1 CLANG2 CLANG3" OUT_FORMATS_CHANNEL_BASED: "stereo mono 5_1 5_1_2 5_1_4 7_1 7_1_4" OUT_FORMATS_SCENE_BASED: "FOA HOA2 HOA3" OUT_FORMATS_BINAURAL: "BINAURAL BINAURAL_ROOM_IR BINAURAL_ROOM_REVERB" Loading ci/run_scheduled_sanitizer_test.py +1 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ from combine_genpatt_and_jbm_profile import combine_error_profiles SCRIPT_DIR = pathlib.Path("./scripts").resolve() DURATION = "120" CFG = "ci_linux_ltv.json" SUPPORTED_TESTS = ["CLANG1", "CLANG2", "CLANG3", "VALGRIND"] SUPPORTED_TESTS = ["CLANG1", "CLANG2", "CLANG3"] EP_FILE = "ep_015.g192" DLY_PROFILE_IN = SCRIPT_DIR.joinpath("dly_error_profiles/dly_error_profile_5.dat") DLY_PROFILE_OUT = "dly_profile.dat" Loading scripts/IvasBuildAndRunChecks.py +5 −0 Original line number Diff line number Diff line Loading @@ -91,6 +91,10 @@ class IvasBuildAndRunChecks(IvasScriptsCommon.IvasScript): self.parser.add_argument( "--rebuild", help="force a rebuild of the binaries", action="store_true" ) self.parser.add_argument( "--usan_supp_file", help="suppression file for undef behaviour sanitizer", default=None, ) def run(self): Loading Loading @@ -157,6 +161,7 @@ class IvasBuildAndRunChecks(IvasScriptsCommon.IvasScript): format_select_list=modes, formats_fname=self.args["format_file"], max_workers=self.args["max_workers"], usan_supp_file=self.args["usan_supp_file"], ) IvasScriptsCommon.runner_setup( br.build_and_run_dict[check]["runner"], self.args Loading scripts/pyivastest/IvasSvnBuilder.py +8 −1 Original line number Diff line number Diff line Loading @@ -1175,6 +1175,7 @@ class IvasBuilderAndRunner(IvasBaseClass): defines_to_disable=None, formats_fname="", max_workers=1, usan_supp_file=None, ): n_cpus = cpu_count() Loading @@ -1190,8 +1191,14 @@ class IvasBuilderAndRunner(IvasBaseClass): else: defines_to_disable_check = defines_to_disable.copy() if check.startswith("CLANG"): make_options.append("CLANG=" + check[-1]) clang_n = check[-1] make_options.append("CLANG=" + clang_n) defines_to_disable_check.extend(["RAM_COUNTING_TOOL"]) # for undefined behaviou sanitizer, pass suppression file if given if clang_n == "3" and usan_supp_file is not None: run_tool = [f"UBSAN_OPTIONS=suppressions={usan_supp_file},report_error_type=1"] elif check == "VALGRIND": defines_to_disable_check.extend(["RAM_COUNTING_TOOL"]) run_tool = [ Loading Loading
.gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ variables: BUILD_OUTPUT: "build_output.txt" EVS_BE_TEST_DIR: "/usr/local/be_2_evs_test" EVS_BE_WIN_TEST_DIR: "C:/Users/gitlab-runner/testvec" SANITIZER_TESTS: "CLANG1 CLANG2" SANITIZER_TESTS: "CLANG1 CLANG2 CLANG3" OUT_FORMATS_CHANNEL_BASED: "stereo mono 5_1 5_1_2 5_1_4 7_1 7_1_4" OUT_FORMATS_SCENE_BASED: "FOA HOA2 HOA3" OUT_FORMATS_BINAURAL: "BINAURAL BINAURAL_ROOM_IR BINAURAL_ROOM_REVERB" Loading
ci/run_scheduled_sanitizer_test.py +1 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ from combine_genpatt_and_jbm_profile import combine_error_profiles SCRIPT_DIR = pathlib.Path("./scripts").resolve() DURATION = "120" CFG = "ci_linux_ltv.json" SUPPORTED_TESTS = ["CLANG1", "CLANG2", "CLANG3", "VALGRIND"] SUPPORTED_TESTS = ["CLANG1", "CLANG2", "CLANG3"] EP_FILE = "ep_015.g192" DLY_PROFILE_IN = SCRIPT_DIR.joinpath("dly_error_profiles/dly_error_profile_5.dat") DLY_PROFILE_OUT = "dly_profile.dat" Loading
scripts/IvasBuildAndRunChecks.py +5 −0 Original line number Diff line number Diff line Loading @@ -91,6 +91,10 @@ class IvasBuildAndRunChecks(IvasScriptsCommon.IvasScript): self.parser.add_argument( "--rebuild", help="force a rebuild of the binaries", action="store_true" ) self.parser.add_argument( "--usan_supp_file", help="suppression file for undef behaviour sanitizer", default=None, ) def run(self): Loading Loading @@ -157,6 +161,7 @@ class IvasBuildAndRunChecks(IvasScriptsCommon.IvasScript): format_select_list=modes, formats_fname=self.args["format_file"], max_workers=self.args["max_workers"], usan_supp_file=self.args["usan_supp_file"], ) IvasScriptsCommon.runner_setup( br.build_and_run_dict[check]["runner"], self.args Loading
scripts/pyivastest/IvasSvnBuilder.py +8 −1 Original line number Diff line number Diff line Loading @@ -1175,6 +1175,7 @@ class IvasBuilderAndRunner(IvasBaseClass): defines_to_disable=None, formats_fname="", max_workers=1, usan_supp_file=None, ): n_cpus = cpu_count() Loading @@ -1190,8 +1191,14 @@ class IvasBuilderAndRunner(IvasBaseClass): else: defines_to_disable_check = defines_to_disable.copy() if check.startswith("CLANG"): make_options.append("CLANG=" + check[-1]) clang_n = check[-1] make_options.append("CLANG=" + clang_n) defines_to_disable_check.extend(["RAM_COUNTING_TOOL"]) # for undefined behaviou sanitizer, pass suppression file if given if clang_n == "3" and usan_supp_file is not None: run_tool = [f"UBSAN_OPTIONS=suppressions={usan_supp_file},report_error_type=1"] elif check == "VALGRIND": defines_to_disable_check.extend(["RAM_COUNTING_TOOL"]) run_tool = [ Loading