summaryrefslogtreecommitdiff
path: root/testsuite/tests/deSugar
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/deSugar
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/deSugar')
-rw-r--r--testsuite/tests/deSugar/should_run/all.T5
1 files changed, 4 insertions, 1 deletions
diff --git a/testsuite/tests/deSugar/should_run/all.T b/testsuite/tests/deSugar/should_run/all.T
index 87ebe8ecaf..57878161a3 100644
--- a/testsuite/tests/deSugar/should_run/all.T
+++ b/testsuite/tests/deSugar/should_run/all.T
@@ -41,6 +41,9 @@ test('T5742', normal, compile_and_run, [''])
test('DsLambdaCase', when(compiler_lt('ghc', '7.5'), skip), compile_and_run, [''])
test('DsMultiWayIf', when(compiler_lt('ghc', '7.5'), skip), compile_and_run, [''])
test('DsStaticPointers',
- when(compiler_lt('ghc', '7.9'), skip), compile_and_run, [''])
+ [ when(compiler_lt('ghc', '7.9'), skip)
+ , when(doing_ghci(), extra_hc_opts('-fobject-code'))
+ ],
+ compile_and_run, [''])
test('T8952', normal, compile_and_run, [''])
test('T9844', normal, compile_and_run, [''])