diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2021-01-19 16:24:24 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-01-28 14:38:02 -0500 |
commit | 2e44165f52aadd325677fd2cb1522c4247a42de7 (patch) | |
tree | 4d15a331fc2616b09d6bfbac6a854fac82245632 /testsuite | |
parent | b3b4d3c1b1fbe1fa3a04d8233ef78dcd12299753 (diff) | |
download | haskell-2e44165f52aadd325677fd2cb1522c4247a42de7.tar.gz |
Reduce default test verbosity
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/driver/runtests.py | 2 | ||||
-rw-r--r-- | testsuite/driver/testglobals.py | 2 | ||||
-rw-r--r-- | testsuite/driver/testlib.py | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/testsuite/driver/runtests.py b/testsuite/driver/runtests.py index b9d6fff859..c0482d0f9d 100644 --- a/testsuite/driver/runtests.py +++ b/testsuite/driver/runtests.py @@ -402,7 +402,7 @@ def tabulate_metrics(metrics: List[PerfMetric]) -> None: # First collect all the tests to be run t_files_ok = True for file in t_files: - if_verbose(2, '====> Scanning %s' % file) + if_verbose(3, '====> Scanning %s' % file) newTestDir(tempdir, os.path.dirname(file)) try: with io.open(file, encoding='utf8') as f: diff --git a/testsuite/driver/testglobals.py b/testsuite/driver/testglobals.py index ed34ce9ff0..5826a976e1 100644 --- a/testsuite/driver/testglobals.py +++ b/testsuite/driver/testglobals.py @@ -83,7 +83,7 @@ class TestConfig: self.wordsize = '' # Verbosity level - self.verbose = 3 + self.verbose = 2 # See Note [validate and testsuite speed] in toplevel Makefile. self.speed = 1 diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py index 1d058c8325..9fc6b6d859 100644 --- a/testsuite/driver/testlib.py +++ b/testsuite/driver/testlib.py @@ -1084,7 +1084,8 @@ def do_test(name: TestName, [len(t.unexpected_passes), len(t.unexpected_failures), len(t.framework_failures)]] - if_verbose(2, "=====> {0} {1} of {2} {3}".format(*progress_args)) + if t.total_tests % 100 == 0: if_verbose(2, "=====> {1} of {2} {3}".format(*progress_args)) + if_verbose(3, "=====> {0} {1} of {2} {3}".format(*progress_args)) # Update terminal title # useful progress indicator even when make test VERBOSE=1 |