Skip to content

Commit

Permalink
TC-DA-1.4/8 generation script: use standard order (project-chip#29920)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
cecille authored Oct 23, 2023
1 parent 661f7c3 commit 1dd9963
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def main():

success_cases = []
failure_cases = []
for p in os.listdir(cert_path):
for p in sorted(os.listdir(cert_path)):
if p in skip_cases:
continue
path = str(os.path.join(cert_path, p, 'test_case_vector.json'))
Expand Down

0 comments on commit 1dd9963

Please sign in to comment.