summaryrefslogtreecommitdiffstats
path: root/Lib/test/libregrtest/cmdline.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-05-04 13:21:12 (GMT)
committerGitHub <noreply@github.com>2017-05-04 13:21:12 (GMT)
commit3d0056842c5e06b4102f990b59ab3b607f932dd8 (patch)
tree1652727e44d9e15ade65e3c3bbc762a4ea445d0c /Lib/test/libregrtest/cmdline.py
parentdbaf746b6de0ee431c809d3175ab40ccc18898a8 (diff)
downloadcpython-3d0056842c5e06b4102f990b59ab3b607f932dd8.zip
cpython-3d0056842c5e06b4102f990b59ab3b607f932dd8.tar.gz
cpython-3d0056842c5e06b4102f990b59ab3b607f932dd8.tar.bz2
bpo-30263: regrtest: log system load (#1452)
* bpo-30263: regrtest: log system load * regrtest: log the number of CPUs Log the number of CPUs in the header. --verbose now imply --header.
Diffstat (limited to 'Lib/test/libregrtest/cmdline.py')
-rw-r--r--Lib/test/libregrtest/cmdline.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/libregrtest/cmdline.py b/Lib/test/libregrtest/cmdline.py
index d621f5f..8260b09 100644
--- a/Lib/test/libregrtest/cmdline.py
+++ b/Lib/test/libregrtest/cmdline.py
@@ -343,5 +343,7 @@ def _parse_args(args, **kwargs):
ns.use_resources.append(r)
if ns.random_seed is not None:
ns.randomize = True
+ if ns.verbose:
+ ns.header = True
return ns