56969dbfd79144feb8f70ceb420e262c2c8cdf61
[ghc.git] / testsuite / tests / safeHaskell / unsafeLibs / all.T
1 # Just do the normal way, SafeHaskell is all in the frontend
2 def f( opts ):
3   opts.only_ways = ['normal']
4
5 setTestOpts(f)
6
7 test('Dep01', normal, compile, [''])
8 test('Dep02', normal, compile, [''])
9 test('Dep03', normal, compile, [''])
10 test('Dep04', normal, compile, [''])
11 test('Dep05', normal, compile, [''])
12 test('Dep06', normal, compile, [''])
13 test('Dep07', normal, compile, [''])
14 test('Dep08', normal, compile, [''])
15 test('Dep09', normal, compile, [''])
16 test('Dep10', normal, compile, [''])
17
18 test('BadImport01', normal, compile_fail, [''])
19 test('BadImport02',
20      extra_clean(['BadImport02_A.o', 'BadImport02_A.hi']),
21      multimod_compile_and_run,
22      ['BadImport02', ''])
23 test('BadImport03',
24      extra_clean(['BadImport03_A.o', 'BadImport03_A.hi']),
25      multimod_compile_fail,
26      ['BadImport03', ''])