summaryrefslogtreecommitdiff
path: root/testsuite/config
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2016-12-17 18:08:59 -0500
committerBen Gamari <ben@smart-cactus.org>2016-12-17 18:09:40 -0500
commit90cfa84981ee1f9fb756a3af1bd707674c18c034 (patch)
tree5c13cf459f847f69e595188c7bbd846e9d1ed17d /testsuite/config
parent2a02040b2e23daa4f791afc290c33c9bbe3c620c (diff)
downloadhaskell-90cfa84981ee1f9fb756a3af1bd707674c18c034.tar.gz
Run some tests with -fexternal-interpreter -prof
We don't have any other tests for this, except one Template Haskell test. This would have caught the bug I just fixed in D2868, at least when validating with profiling on. Test Plan: Ran tests Reviewers: niteria, austin, erikd, bgamari Reviewed By: bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2869 GHC Trac Issues: #5654
Diffstat (limited to 'testsuite/config')
-rw-r--r--testsuite/config/ghc4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/config/ghc b/testsuite/config/ghc
index b7d9cbc08c..b9991d7729 100644
--- a/testsuite/config/ghc
+++ b/testsuite/config/ghc
@@ -30,7 +30,7 @@ config.other_ways = ['prof', 'normal_h',
'llvm', 'debugllvm',
'profllvm', 'profoptllvm', 'profthreadedllvm',
'debug',
- 'ghci-ext',
+ 'ghci-ext', 'ghci-ext-prof',
'ext-interp']
if (ghc_with_native_codegen == 1):
@@ -100,6 +100,7 @@ config.way_flags = {
'profoptllvm' : ['-O', '-prof', '-static', '-fprof-auto', '-fllvm'],
'profthreadedllvm' : ['-O', '-prof', '-static', '-fprof-auto', '-threaded', '-fllvm'],
'ghci-ext' : ['--interactive', '-v0', '-ignore-dot-ghci', '-fno-ghci-history', '-fexternal-interpreter', '+RTS', '-I0.1', '-RTS'],
+ 'ghci-ext-prof' : ['--interactive', '-v0', '-ignore-dot-ghci', '-fno-ghci-history', '-fexternal-interpreter', '-prof', '+RTS', '-I0.1', '-RTS'],
'ext-interp' : ['-fexternal-interpreter'],
}
@@ -137,6 +138,7 @@ config.way_rts_flags = {
'profoptllvm' : ['-hc', '-p'],
'profthreadedllvm' : ['-p'],
'ghci-ext' : [],
+ 'ghci-ext-prof' : [],
'ext-interp' : [],
}