Loading ci/remove_unsupported_testcases.py +16 −1 Original line number Diff line number Diff line Loading @@ -64,6 +64,7 @@ TESTCASES = [ ] RENDERER_PYTEST_FILE = "tests/renderer/test_renderer.py" SPLIT_RENDERING_PYTEST_FILE = "tests/split_rendering/test_split_rendering.py" def remove_testcases(cfg: Path, testcases: list): Loading Loading @@ -107,7 +108,7 @@ def find_function(lines: list[str], function_name: str) -> int: found_function = True continue if found_function and "run_renderer(" in line: if found_function and "run_" in line: return i Loading Loading @@ -137,6 +138,19 @@ def remove_testcases_renderer(): with open(RENDERER_PYTEST_FILE, "w") as f: f.writelines(lines) def remove_testcases_split_rendering(): with open(SPLIT_RENDERING_PYTEST_FILE) as f: lines = f.readlines() lines = skip_testcase( lines, function_name="test_omasa_external_split", condition="True", reason="Unsupported for BASOP" ) with open(SPLIT_RENDERING_PYTEST_FILE, "w") as f: f.writelines(lines) if __name__ == "__main__": parser = argparse.ArgumentParser() Loading @@ -149,3 +163,4 @@ if __name__ == "__main__": remove_testcases(f, testcases) remove_testcases_renderer() remove_testcases_split_rendering() scripts/split_rendering/lc3plus_basop/ivas_lc3plus_unit_test_payload_format.c +0 −2 Original line number Diff line number Diff line Loading @@ -38,7 +38,6 @@ the United Nations Convention on Contracts on the International Sales of Goods. #include "isar_lc3plus_common.h" #include "options.h" #ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS /* included by ivas_lc3plus_unit_test.c */ Loading Loading @@ -448,4 +447,3 @@ static int run_all_payload_tests( void ) } return 0; } #endif Loading
ci/remove_unsupported_testcases.py +16 −1 Original line number Diff line number Diff line Loading @@ -64,6 +64,7 @@ TESTCASES = [ ] RENDERER_PYTEST_FILE = "tests/renderer/test_renderer.py" SPLIT_RENDERING_PYTEST_FILE = "tests/split_rendering/test_split_rendering.py" def remove_testcases(cfg: Path, testcases: list): Loading Loading @@ -107,7 +108,7 @@ def find_function(lines: list[str], function_name: str) -> int: found_function = True continue if found_function and "run_renderer(" in line: if found_function and "run_" in line: return i Loading Loading @@ -137,6 +138,19 @@ def remove_testcases_renderer(): with open(RENDERER_PYTEST_FILE, "w") as f: f.writelines(lines) def remove_testcases_split_rendering(): with open(SPLIT_RENDERING_PYTEST_FILE) as f: lines = f.readlines() lines = skip_testcase( lines, function_name="test_omasa_external_split", condition="True", reason="Unsupported for BASOP" ) with open(SPLIT_RENDERING_PYTEST_FILE, "w") as f: f.writelines(lines) if __name__ == "__main__": parser = argparse.ArgumentParser() Loading @@ -149,3 +163,4 @@ if __name__ == "__main__": remove_testcases(f, testcases) remove_testcases_renderer() remove_testcases_split_rendering()
scripts/split_rendering/lc3plus_basop/ivas_lc3plus_unit_test_payload_format.c +0 −2 Original line number Diff line number Diff line Loading @@ -38,7 +38,6 @@ the United Nations Convention on Contracts on the International Sales of Goods. #include "isar_lc3plus_common.h" #include "options.h" #ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS /* included by ivas_lc3plus_unit_test.c */ Loading Loading @@ -448,4 +447,3 @@ static int run_all_payload_tests( void ) } return 0; } #endif