aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/tc-testing/tdc.py
diff options
context:
space:
mode:
authorPedro Tammela <pctammela@mojatatu.com>2023-11-17 14:12:08 -0300
committerJakub Kicinski <kuba@kernel.org>2023-11-20 18:06:36 -0800
commit4968afa0143dbff8a84b5ce3c302dd7d0bdcfa48 (patch)
tree75049a31a7411ac6500590ed595049ad2325e3ca /tools/testing/selftests/tc-testing/tdc.py
parentselftests: tc-testing: timeout on unbounded loops (diff)
downloadlinux-4968afa0143dbff8a84b5ce3c302dd7d0bdcfa48.tar.gz
linux-4968afa0143dbff8a84b5ce3c302dd7d0bdcfa48.zip
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>
Diffstat (limited to 'tools/testing/selftests/tc-testing/tdc.py')
-rwxr-xr-xtools/testing/selftests/tc-testing/tdc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/tc-testing/tdc.py b/tools/testing/selftests/tc-testing/tdc.py
index f764b43f112b..669ec89ebfe1 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