summaryrefslogtreecommitdiff
path: root/testsuite/tests/rts/T5644
diff options
context:
space:
mode:
authorJavran Cheng <Javran.c@gmail.com>2015-05-06 07:47:20 -0500
committerAustin Seipp <austin@well-typed.com>2015-05-06 07:50:49 -0500
commit477f514f6ebcf783810da93e2191e4b6ea65559b (patch)
tree937142e105718d77b9a7c404cd538e3dd9e78f55 /testsuite/tests/rts/T5644
parent03c4893e355948fe865bc52c744359c42e4b06d7 (diff)
downloadhaskell-477f514f6ebcf783810da93e2191e4b6ea65559b.tar.gz
rts: add "-no-rtsopts-suggestions" option
Depends on D767 Setting this flag prevents RTS from giving RTS suggestions like "Use `+RTS -Ksize -RTS' to increase it." According to the comment @rwbarton made in #9579, sometimes "+RTS" suggestions don't make sense (e.g. when the program is precompiled and installed through package managers), we can encourage people to distribute binaries with either "-no-rtsopts-suggestions" or "-rtsopts". Reviewed By: erikd, austin Differential Revision: https://phabricator.haskell.org/D809 GHC Trac Issues: #9579
Diffstat (limited to 'testsuite/tests/rts/T5644')
-rw-r--r--testsuite/tests/rts/T5644/T5644.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/rts/T5644/T5644.stderr b/testsuite/tests/rts/T5644/T5644.stderr
index 198dceb2bb..e5b0ab950b 100644
--- a/testsuite/tests/rts/T5644/T5644.stderr
+++ b/testsuite/tests/rts/T5644/T5644.stderr
@@ -1,3 +1,3 @@
T5644: Heap exhausted;
-Current maximum heap size is 20971520 bytes (20 MB);
-use `+RTS -M<size>' to increase it.
+T5644: Current maximum heap size is 20971520 bytes (20 MB).
+T5644: Use `+RTS -M<size>' to increase it.