export working on network files

This commit is contained in:
2026-07-29 16:12:15 -04:00
parent b6c3cf9786
commit 0d2a1253cd
6 changed files with 72 additions and 24 deletions
+3 -3
View File
@@ -64,7 +64,7 @@ class Scheduler:
def compile_schedule(self) -> str | None:
bundles = build_test_bundles(self.active_dut, self.active_ref, self.top_priority_tests)
bundles = build_test_bundles(self.active_dut, self.active_ref, self.top_priority_tests, log=True)
if not bundles:
return f"Error: No test bundles could be created from the provided tests."
@@ -87,7 +87,7 @@ class Scheduler:
tc_order = self.get_tc_order(self.all_tests)
for tc in tc_order:
tc_bundles = all_bundles_by_tc[tc]
tc_bundles = all_bundles_by_tc.get(tc)
if tc_bundles is None or len(tc_bundles) == 0:
print(f"[scheduler] No bundles found for TC: {tc}. Skipping to next TC.")
continue
@@ -366,7 +366,7 @@ class Scheduler:
# Implement the logic for getting the test case order
all_dut = {test.test_id: test for test in all_tests if test.device == DUT}
all_ref = {test.test_id: test for test in all_tests if test.device == REF}
bundles = build_test_bundles(all_dut, all_ref, [])
bundles = build_test_bundles(all_dut, all_ref, [], log=False)
all_tcs = set()
for bundle in bundles: