37ab64301cb0cbf56844455527f94538a222f8e0
[ghc.git] / testsuite / tests / ghci / linking / all.T
1 test('ghcilink001',
2      [extra_files(['TestLink.hs', 'f.c']),
3       when(ghc_dynamic(), expect_fail), # dynamic ghci can't load '.a's
4       unless(doing_ghci, skip),
5       extra_clean(['dir001/*','dir001'])],
6      makefile_test, ['ghcilink001'])
7
8 test('ghcilink002', [extra_files(['TestLink.hs', 'f.c']),
9                      # Fragile when unregisterised; see #16085
10                      when(unregisterised(), skip),
11                      unless(doing_ghci, skip)],
12      makefile_test, ['ghcilink002'])
13
14 test('ghcilink003', [unless(doing_ghci, skip)], makefile_test, ['ghcilink003'])
15
16 test('ghcilink004',
17      [extra_files(['TestLink.hs', 'f.c']),
18       unless(doing_ghci, skip),
19       when(arch('powerpc64') or arch('powerpc64le'), expect_broken(11259))],
20      makefile_test, ['ghcilink004'])
21
22 test('ghcilink005',
23      [extra_files(['TestLink.hs', 'f.c']),
24       # Fragile when unregisterised; see #16085
25       when(unregisterised(), skip),
26       unless(doing_ghci, skip)],
27      makefile_test, ['ghcilink005'])
28
29 test('ghcilink006', [unless(doing_ghci, skip)], makefile_test, ['ghcilink006'])
30
31 test('T3333',
32      [unless(doing_ghci, skip),
33       unless(opsys('linux') or opsys('darwin') or ghc_dynamic(),
34              expect_broken(3333))],
35      makefile_test, ['T3333'])
36
37 test('T14708',
38      [extra_files(['T14708.hs', 'add.c']),
39       unless(doing_ghci, skip),
40       unless(ghc_dynamic(), skip),
41       extra_clean(['T14708scratch/*', 'T14708'])],
42      makefile_test, ['T14708'])