tetst: test for checking return value

This commit is contained in:
chenhaoran 2024-08-14 19:07:10 +08:00
parent 31628e0077
commit 0294a2d9d6
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ def input_files(change_files):
for line in file:
file_name = line.strip()
if any(dir_name in file_name for dir_name in scan_dir_list):
if (file_name.endswith(".c") or line.endswith(".cpp")) and all(dir_name not in file_name for dir_name in scan_skip_file_list):
if (file_name.endswith(".c") or file_name.endswith(".cpp")) and all(dir_name not in file_name for dir_name in scan_skip_file_list):
if "enterprise" in file_name:
file_name = os.path.join(TD_project_path, file_name)
else: