setTestOpts(normalise_version('base','ghc-prim'))

test('saks001', normal, compile, [''])
test('saks002', normal, compile, [''])
test('saks003', normal, compile, [''])
test('saks004', normal, compile, [''])
test('saks005', normal, compile, [''])
test('saks006', normal, compile, [''])
test('saks007', normal, compile, [''])
test('saks008', normal, compile, [''])
test('saks009', normal, compile, [''])
test('saks010', normal, compile, [''])
test('saks014', normal, compile, [''])
test('saks015', normal, compile, [''])
test('saks016', normal, compile, [''])
test('saks017', normal, compile, [''])
test('saks018', normal, compile, [''])
test('saks019', normal, compile, [''])
test('saks020', normal, compile, [''])
test('saks021', normal, compile, [''])
test('saks023', normal, ghci_script, ['saks023.script'])
test('saks024', normal, compile, [''])
test('saks025', extra_files(['saks025.hs']), ghci_script, ['saks025.script'])
test('saks026', normal, compile, [''])
test('saks029', normal, compile, [''])
test('saks030', normal, compile, [''])
test('saks031', normal, compile, [''])
test('saks032', normal, compile, [''])
test('saks033', normal, compile, [''])
test('saks034', extra_files(['saks034.hs']), ghci_script, ['saks034.script'])
test('saks035', extra_files(['saks035.hs']), ghci_script, ['saks035.script'])
test('saks036', normal, compile, [''])
test('T16723', normal, compile, [''])
test('T16724', extra_files(['T16724.hs']), ghci_script, ['T16724.script'])
test('T16726', normal, compile, [''])
test('T16731', normal, compile, [''])
test('T16758', expect_broken(16758), compile, [''])
test('T16721', normal, ghci_script, ['T16721.script'])
test('T16756a', normal, compile, [''])

# We omit 'profasm' because it fails with:
# Cannot load -prof objects when GHC is built with -dynamic
#     To fix this, either:
#       (1) Use -fexternal-interpreter, or
#       (2) Build the program twice: once with -dynamic, and then
#           with -prof using -osuf to set a different object file suffix.
test('saks027', omit_ways(['profasm']), compile, ['-v0 -ddump-splices -dsuppress-uniques'])
test('saks028', omit_ways(['profasm']), compile, [''])
test('T17164', omit_ways(['profasm']), compile, ['-v0 -ddump-splices -dsuppress-uniques'])
