export working on network files
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user