summaryrefslogtreecommitdiff
path: root/testsuite/config
diff options
context:
space:
mode:
authorRichard Eisenberg <rae@cs.brynmawr.edu>2018-07-14 15:27:48 -0400
committerRichard Eisenberg <rae@cs.brynmawr.edu>2018-07-14 21:27:18 -0400
commit6d55e36f6d4b71402b3a27cd466d237034d3a5b8 (patch)
tree7c60ce2fb29441f6c1aaf18b921332d887d5d9f0 /testsuite/config
parent15ce9b45515415b0cbe606e9324a7858c9009c0b (diff)
downloadhaskell-6d55e36f6d4b71402b3a27cd466d237034d3a5b8.tar.gz
Disable -fghci-leak-check in DEBUG mode
The DEBUG compiler's GHCi still leaks. This commit suppresses testsuite failures due to this leak. See #15372.
Diffstat (limited to 'testsuite/config')
-rw-r--r--testsuite/config/ghc2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/config/ghc b/testsuite/config/ghc
index f41f372cb2..a850be90d4 100644
--- a/testsuite/config/ghc
+++ b/testsuite/config/ghc
@@ -80,7 +80,7 @@ config.way_flags = {
'prof_no_auto' : ['-prof', '-static', '-fasm'],
'profasm' : ['-O', '-prof', '-static', '-fprof-auto'],
'profthreaded' : ['-O', '-prof', '-static', '-fprof-auto', '-threaded'],
- 'ghci' : ['--interactive', '-v0', '-ignore-dot-ghci', '-fno-ghci-history', '-fghci-leak-check', '+RTS', '-I0.1', '-RTS'],
+ 'ghci' : ['--interactive', '-v0', '-ignore-dot-ghci', '-fno-ghci-history', '+RTS', '-I0.1', '-RTS'] + (['-fghci-leak-check'] if not config.compiler_debugged else []),
'sanity' : ['-debug'],
'threaded1' : ['-threaded', '-debug'],
'threaded1_ls' : ['-threaded', '-debug'],