From 6f99e219ca980da610f0a134c6ff37f71db7c769 Mon Sep 17 00:00:00 2001 From: Ivan Nikolaev-Axenov Date: Mon, 5 Aug 2024 11:38:25 +0300 Subject: [PATCH] python script updated --- clr_test/run_test_docker_containers.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/clr_test/run_test_docker_containers.py b/clr_test/run_test_docker_containers.py index e872e2f69..eb37d4517 100644 --- a/clr_test/run_test_docker_containers.py +++ b/clr_test/run_test_docker_containers.py @@ -72,10 +72,15 @@ def run_specific(index): logging.info(f"Copying files from {DATA_ROOT_DIR}/{folders[index]}/clearing_testing_utils/ to {CLR_TEST_DIR}/clearing-all/clearing_testing_utils/") shutil.copytree(f"{DATA_ROOT_DIR}/{folders[index]}/clearing_testing_utils/", f"{CLR_TEST_DIR}/clearing-all/clearing_testing_utils/", dirs_exist_ok=True) + remove_files_with_extensions(".xml") change_date(folders[index]) run_docker(folders[index]) + logging.info(f"Removing folder {CLR_TEST_DIR}/mnt/dbfout") + shutil.rmtree(f"{CLR_TEST_DIR}/mnt/dbfout") + os.mkdir(f"{CLR_TEST_DIR}/mnt/dbfout") + def main(): folders = [i for i in sorted(os.listdir(DATA_ROOT_DIR)) if re.search("\\d{1,}.\\d{1,}.*", i)]