Skip to content

Commit 1dd9963

Browse files
authored
TC-DA-1.4/8 generation script: use standard order (project-chip#29920)
listdir doesn't use any particular ordering apparently, so this comes out in a different order every time, which is very annoying. Change to use sorted. I'm going to update the test plans to use the new ordering so it doesn't keep changing and so we can match it with the runner script.
1 parent 661f7c3 commit 1dd9963

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

credentials/development/gen_commissioner_dut_test_plan_table.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def main():
7979

8080
success_cases = []
8181
failure_cases = []
82-
for p in os.listdir(cert_path):
82+
for p in sorted(os.listdir(cert_path)):
8383
if p in skip_cases:
8484
continue
8585
path = str(os.path.join(cert_path, p, 'test_case_vector.json'))

0 commit comments

Comments
 (0)