Skip to content

Commit 4968afa

Browse files
tammelakuba-moo
authored andcommitted
selftests: tc-testing: report number of workers in use
Report the number of workers in use to process the test batches. Since the number is now subject to a limit, avoid users getting confused. Signed-off-by: Pedro Tammela <pctammela@mojatatu.com> Reviewed-by: Simon Horman <horms@kernel.org> Acked-by: Jamal Hadi Salim <jhs@mojatatu.com> Link: https://lore.kernel.org/r/20231117171208.2066136-7-pctammela@mojatatu.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 4b480cf commit 4968afa

File tree

1 file changed

+1
-1
lines changed
  • tools/testing/selftests/tc-testing

1 file changed

+1
-1
lines changed

tools/testing/selftests/tc-testing/tdc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ def test_runner_mp(pm, args, alltests):
616616
batches.insert(0, serial)
617617

618618
print("Executing {} tests in parallel and {} in serial".format(len(parallel), len(serial)))
619-
print("Using {} batches".format(len(batches)))
619+
print("Using {} batches and {} workers".format(len(batches), args.mp))
620620

621621
# We can't pickle these objects so workaround them
622622
global mp_pm

0 commit comments

Comments
 (0)