# Test GHCi works with Safe Haskell

test('p1', normal, ghci_script, ['p1.script'])
test('p2', normal, ghci_script, ['p2.script'])
test('p3', normalise_version("bytestring"), ghci_script, ['p3.script'])
test('p4', normal, ghci_script, ['p4.script'])
test('p5', normal, ghci_script, ['p5.script'])
test('p6', [when(unregisterised(), fragile(17018))], ghci_script, ['p6.script'])
test('p7', extra_files(['A.hs']), ghci_script, ['p7.script'])
test('p8', extra_files(['B.hs']), ghci_script, ['p8.script'])
test('p9', extra_files(['C.hs']), ghci_script, ['p9.script'])
test('p10', extra_files(['D.hs']), ghci_script, ['p10.script'])
test('p11', extra_files(['E.hs']), ghci_script, ['p11.script'])
test('p12', normalise_version("bytestring"), ghci_script, ['p12.script'])
test('p13', extra_files(['P13_A.hs']), ghci_script, ['p13.script'])
test('p14', normal, ghci_script, ['p14.script'])
test('p16', normal, ghci_script, ['p16.script'])
test('p17', normalise_version("bytestring"), ghci_script, ['p17.script'])
# 7172
test('p18', normalise_version("bytestring"), ghci_script, ['p18.script'])
test('T12509', [extra_hc_opts('-XNoGeneralizedNewtypeDeriving -XSafe')], ghci_script, ['T12509.script'])
test('T19243', normal, ghci_script, ['T19243.script'])

