Commit f70f9426 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Check running ghci with -hide-package haskell98 works. Tests trac #1001.

parent d998bdd6
......@@ -412,7 +412,7 @@ def ghci_script( name, way, script ):
join(flags,' ')
getTestOpts().stdin = script
return simple_run( name, way, cmd, '', 0 )
return simple_run( name, way, cmd, getTestOpts().extra_run_opts, 0 )
# -----------------------------------------------------------------------------
# Compile-only tests
......
......@@ -19,3 +19,4 @@ test('ghci013', normal, ghci_script, ['ghci013.script'])
test('ghci014', normal, ghci_script, ['ghci014.script'])
test('ghci015', normal, ghci_script, ['ghci015.script'])
test('ghci016', normal, ghci_script, ['ghci016.script'])
test('ghci017', extra_run_opts('-hide-package haskell98'), ghci_script, ['ghci017.script'])
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