From: Pedro Tammela Date: Fri, 17 Nov 2023 17:12:08 +0000 (-0300) Subject: selftests: tc-testing: report number of workers in use X-Git-Tag: v6.8-rc1~131^2~301^2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=4968afa0143dbff8a84b5ce3c302dd7d0bdcfa48;p=users%2Fdwmw2%2Flinux.git 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 Reviewed-by: Simon Horman Acked-by: Jamal Hadi Salim Link: https://lore.kernel.org/r/20231117171208.2066136-7-pctammela@mojatatu.com Signed-off-by: Jakub Kicinski --- diff --git a/tools/testing/selftests/tc-testing/tdc.py b/tools/testing/selftests/tc-testing/tdc.py index f764b43f112b6..669ec89ebfe1e 100755 --- a/tools/testing/selftests/tc-testing/tdc.py +++ b/tools/testing/selftests/tc-testing/tdc.py @@ -616,7 +616,7 @@ def test_runner_mp(pm, args, alltests): batches.insert(0, serial) print("Executing {} tests in parallel and {} in serial".format(len(parallel), len(serial))) - print("Using {} batches".format(len(batches))) + print("Using {} batches and {} workers".format(len(batches), args.mp)) # We can't pickle these objects so workaround them global mp_pm