test/ci/scan_file_path: ignore az cpp module

This commit is contained in:
Minglei Jin 2024-10-10 18:54:57 +08:00
parent c0ef07c050
commit 8b73975455
1 changed files with 2 additions and 2 deletions

View File

@ -129,7 +129,7 @@ def scan_files_path(source_file_path):
def input_files(change_files): def input_files(change_files):
# scan_dir_list = ["source", "include", "docs/examples", "tests/script/api", "src/plugins"] # scan_dir_list = ["source", "include", "docs/examples", "tests/script/api", "src/plugins"]
scan_dir_list = ["source", "include", "docs/examples", "src/plugins"] scan_dir_list = ["source", "include", "docs/examples", "src/plugins"]
scan_skip_file_list = [f"{TD_project_path}/TDinternal/community/tools/taosws-rs/target/release/build/openssl-sys-7811e597b848e397/out/openssl-build/install/include/openssl", "/test/", "contrib", "debug", "deps", f"{TD_project_path}/TDinternal/community/source/libs/parser/src/sql.c", f"{TD_project_path}/TDinternal/community/source/client/jni/windows/win32/bridge/AccessBridgeCalls.c"] scan_skip_file_list = ["tools/taosws-rs/target/release/build/openssl-sys-7811e597b848e397/out/openssl-build/install/include/openssl", "/test/", "contrib", "debug", "deps", "source/libs/parser/src/sql.c", "source/libs/azure", "source/client/jni/windows/win32/bridge/AccessBridgeCalls.c"]
with open(change_files, 'r') as file: with open(change_files, 'r') as file:
for line in file: for line in file:
file_name = line.strip() file_name = line.strip()
@ -141,7 +141,7 @@ def input_files(change_files):
tdc_file_path = os.path.join(TD_project_path, "community/") tdc_file_path = os.path.join(TD_project_path, "community/")
file_name = os.path.join(tdc_file_path, file_name) file_name = os.path.join(tdc_file_path, file_name)
all_file_path.append(file_name) all_file_path.append(file_name)
# print(f"all_file_path:{all_file_path}") print(f"all_file_path:{all_file_path}")
logger.info("Found %s files" % len(all_file_path)) logger.info("Found %s files" % len(all_file_path))
file_res_path = "" file_res_path = ""