diff options
author | Ben Gamari <ben@well-typed.com> | 2022-06-23 18:16:13 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-06-27 08:05:24 -0400 |
commit | 79ae2d897371946c0d3b9851228079974e759c6b (patch) | |
tree | 77c798635c707c05d3cf5a4210cd05ec447233fd | |
parent | 07016fc91c97e26fa330744d2eb0fa35550df969 (diff) | |
download | haskell-79ae2d897371946c0d3b9851228079974e759c6b.tar.gz |
testsuite: Hide output from test compilations with verbosity==2
Previously the output from test compilations used to determine whether,
e.g., profiling libraries are available was shown with verbosity
levels >= 2. However, the default level is 2, meaning that most users
were often spammed with confusing errors. Fix this by bumping the
verbosity threshold for this output to >=3.
Fixes #21760.
-rw-r--r-- | testsuite/config/ghc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/config/ghc b/testsuite/config/ghc index 4cf62776ab..36b987ce25 100644 --- a/testsuite/config/ghc +++ b/testsuite/config/ghc @@ -221,7 +221,7 @@ def get_compiler_info(): '{} -v0 {} -o test '.format(config.compiler, src) + ' '.join(flags), shell=True, cwd=d, - stderr=None if config.verbose >= 2 else subprocess.DEVNULL) + stderr=None if config.verbose >= 3 else subprocess.DEVNULL) res = p.returncode return res == 0 |