summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@well-typed.com>2022-06-23 18:16:13 +0000
committerBen Gamari <ben@well-typed.com>2022-06-23 18:16:13 +0000
commit962352eef5eb8307b763deda855505497bce0531 (patch)
treeecefd5463fe8c2af92ff5694d1126dd07681adb2
parent75f0091bc59437c96fc076a31f389735f7302c9a (diff)
downloadhaskell-wip/T21760.tar.gz
testsuite: Hide output from test compilations with verbosity==2wip/T21760
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