summaryrefslogtreecommitdiff
path: root/testsuite/tests/rts
diff options
context:
space:
mode:
authorFacundo Domínguez <facundo.dominguez@tweag.io>2015-05-25 21:07:54 -0500
committerAustin Seipp <austin@well-typed.com>2015-05-25 21:07:54 -0500
commit70f1ca431c948be468f7f9a86892fd81c8f1a64b (patch)
treeedcb9567a7c514c268b01cb756bbce427d7f77ca /testsuite/tests/rts
parent326989ed06e6ad52d1cc2307be19d21b66b95813 (diff)
downloadhaskell-70f1ca431c948be468f7f9a86892fd81c8f1a64b.tar.gz
Fix ghci-way tests of -XStaticPointers.
Summary: Add -fobject-code to StaticPointers tests in ghci. Test Plan: validate Reviewers: austin Reviewed By: austin Subscribers: bgamari, thomie, mboes Differential Revision: https://phabricator.haskell.org/D905
Diffstat (limited to 'testsuite/tests/rts')
-rw-r--r--testsuite/tests/rts/all.T8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuite/tests/rts/all.T b/testsuite/tests/rts/all.T
index 3965ee4f01..d823c2ba9b 100644
--- a/testsuite/tests/rts/all.T
+++ b/testsuite/tests/rts/all.T
@@ -255,10 +255,14 @@ test('rdynamic', [ unless(opsys('linux') or opsys('mingw32'), skip)
compile_and_run, ['-rdynamic -package ghc'])
test('GcStaticPointers',
- [ when(compiler_lt('ghc', '7.9'), skip) ],
+ [ when(compiler_lt('ghc', '7.9'), skip)
+ , when(doing_ghci(), extra_hc_opts('-fobject-code'))
+ ],
compile_and_run, [''])
test('ListStaticPointers',
- [ when(compiler_lt('ghc', '7.9'), skip) ],
+ [ when(compiler_lt('ghc', '7.9'), skip)
+ , when(doing_ghci(), extra_hc_opts('-fobject-code'))
+ ],
compile_and_run, [''])
# 251 = RTS exit code for "out of memory"