Permalink
Browse files

Fix ghci058 with dynamic GHC

  • Loading branch information...
1 parent 8830ebb commit ef182ab021e51b8d4dc7813f1376202c1f42c4c5 @igfoo igfoo committed Mar 15, 2013
Showing with 4 additions and 3 deletions.
  1. +2 −1 tests/ghci/scripts/all.T
  2. +2 −2 tests/ghci/scripts/ghci058.script
View
@@ -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

0 comments on commit ef182ab

Please sign in to comment.