File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,9 @@ def generate(whitelist: Set[str]):
18
18
test_case_names = set (get_directories (inputs_path ))
19
19
20
20
for test_case_name in sorted (test_case_names ):
21
- test_case_path = os .path .join (inputs_path , test_case_name )
21
+ test_case_path = os .path .realpath ( os . path . join (inputs_path , test_case_name ) )
22
22
23
- is_path_whitelisted = path_whitelist and os .path .realpath (test_case_path ) in path_whitelist
24
- is_name_whitelisted = name_whitelist and test_case_name in name_whitelist
25
-
26
- if whitelist and not is_path_whitelisted and not is_name_whitelisted :
23
+ if whitelist and test_case_path not in path_whitelist and test_case_name not in name_whitelist :
27
24
continue
28
25
29
26
case_output_dir_reference = os .path .join (output_path_reference , test_case_name )
You can’t perform that action at this time.
0 commit comments