summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@well-typed.com>2022-06-23 18:16:13 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-06-27 08:05:24 -0400
commit79ae2d897371946c0d3b9851228079974e759c6b (patch)
tree77c798635c707c05d3cf5a4210cd05ec447233fd
parent07016fc91c97e26fa330744d2eb0fa35550df969 (diff)
downloadhaskell-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/ghc2
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