Commit 70f1ca43 authored by Facundo Domínguez's avatar Facundo Domínguez Committed by Austin Seipp

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
parent 326989ed
......@@ -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'])
......
......@@ -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, [''])
......@@ -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"
......
......@@ -308,7 +308,9 @@ test('T8577',
['T8577', '-v0 ' + config.ghc_th_way_flags])
test('T8625', normal, ghci_script, ['T8625.script'])
test('TH_StaticPointers',
[ 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('TH_StaticPointers02',
[ when(compiler_lt('ghc', '7.9'), skip) ],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment