Commit 543641af authored by ian@well-typed.com's avatar ian@well-typed.com
Browse files

Fix ghci058 with dynamic GHC

parent 6215d4c8
......@@ -137,7 +137,8 @@ test('T6106',
test('T6105', normal, ghci_script, ['T6105.script'])
test('T7117', normal, ghci_script, ['T7117.script'])
test('ghci058',
extra_clean(['Ghci058.hs', 'Ghci058.hi', 'Ghci058.o']),
[extra_clean(['Ghci058.hs', 'Ghci058.hi', 'Ghci058.o']),
cmd_prefix('ghciWayFlags=' + config.ghci_way_flags)],
ghci_script,
['ghci058.script'])
test('T7587', normal, ghci_script, ['T7587.script'])
......
......@@ -6,12 +6,12 @@
:set -v1
:shell echo "module Ghci058 where c = 'a'" > Ghci058.hs
:shell "$HC" $HC_OPTS -fforce-recomp -c Ghci058.hs
:shell "$HC" $HC_OPTS $ghciWayFlags -fforce-recomp -c Ghci058.hs
:l Ghci058
c
:shell echo "module Ghci058 where c = 'b'" > Ghci058.hs
:shell "$HC" $HC_OPTS -fforce-recomp -c Ghci058.hs
:shell "$HC" $HC_OPTS $ghciWayFlags -fforce-recomp -c Ghci058.hs
:l Ghci058
c
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