diff options
author | Facundo DomÃnguez <facundo.dominguez@tweag.io> | 2015-05-25 21:07:54 -0500 |
---|---|---|
committer | Austin Seipp <austin@well-typed.com> | 2015-05-25 21:07:54 -0500 |
commit | 70f1ca431c948be468f7f9a86892fd81c8f1a64b (patch) | |
tree | edcb9567a7c514c268b01cb756bbce427d7f77ca /testsuite/tests/codeGen | |
parent | 326989ed06e6ad52d1cc2307be19d21b66b95813 (diff) | |
download | haskell-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/codeGen')
-rw-r--r-- | testsuite/tests/codeGen/should_run/all.T | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/tests/codeGen/should_run/all.T b/testsuite/tests/codeGen/should_run/all.T index 41d18e5cef..59e4dca6b2 100644 --- a/testsuite/tests/codeGen/should_run/all.T +++ b/testsuite/tests/codeGen/should_run/all.T @@ -115,7 +115,9 @@ test('T7953', reqlib('random'), compile_and_run, ['']) test('T8256', normal, compile_and_run, ['-dcore-lint -O1']) test('T6084',normal, compile_and_run, ['-O2']) test('CgStaticPointers', - [ 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('StaticArraySize', normal, compile_and_run, ['-O2']) test('StaticByteArraySize', normal, compile_and_run, ['-O2']) |