From 1dd996358370bd27e237f192c76a25e07eaf4009 Mon Sep 17 00:00:00 2001 From: C Freeman Date: Mon, 23 Oct 2023 18:27:37 -0400 Subject: [PATCH] TC-DA-1.4/8 generation script: use standard order (#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. --- credentials/development/gen_commissioner_dut_test_plan_table.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/credentials/development/gen_commissioner_dut_test_plan_table.py b/credentials/development/gen_commissioner_dut_test_plan_table.py index d8887a2f86f331..fb3ca49087e0b7 100755 --- a/credentials/development/gen_commissioner_dut_test_plan_table.py +++ b/credentials/development/gen_commissioner_dut_test_plan_table.py @@ -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'))