From 617d79be76cd7af1e7e7c2ef40eb1f3c991d34fd Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 5 May 2025 16:52:55 +0200 Subject: [PATCH] Fix: maker test was checking for the old test files location There is no need to do this anymore, as the files are expected to always be there. --- build_files/utils/make_test.py | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/build_files/utils/make_test.py b/build_files/utils/make_test.py index 6523fcdd447..3db535a8182 100755 --- a/build_files/utils/make_test.py +++ b/build_files/utils/make_test.py @@ -47,24 +47,6 @@ def main() -> int: sys.stderr.write("git not found, can't run tests\n") return 1 - # Test if we are building a specific release version. - lib_tests_dirpath = Path("tests") / "data" - - if not (lib_tests_dirpath / ".git").exists(): - print("Tests files not found, downloading...") - - if make_utils.command_missing(cmake_command): - sys.stderr.write("cmake not found, can't checkout test files\n") - return 1 - - # Ensure the test data files sub-module is configured and present. - make_utils.git_enable_submodule(git_command, Path("tests") / "data") - make_utils.git_update_submodule(args.git_command, lib_tests_dirpath) - - # Run cmake again to detect tests files. - os.chdir(build_dir) - call([cmake_command, "."]) - # Run tests tests_dir = os.path.join(build_dir, "tests") os.makedirs(tests_dir, exist_ok=True)