summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/linking/all.T
blob: 124b3a40b7ed315b537e595bf38386293bb6ec3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
test('ghcilink001',
     [extra_files(['TestLink.hs', 'f.c']),
      when(ghc_dynamic(), expect_fail), # dynamic ghci can't load '.a's
      unless(doing_ghci, skip),
      extra_clean(['dir001/*','dir001'])],
     run_command,
     ['$MAKE -s --no-print-directory ghcilink001'])

test('ghcilink002', [extra_files(['TestLink.hs', 'f.c']),
                     unless(doing_ghci, skip)], run_command,
     ['$MAKE -s --no-print-directory ghcilink002'])

test('ghcilink003', [unless(doing_ghci, skip)], run_command,
     ['$MAKE -s --no-print-directory ghcilink003'])

test('ghcilink004',
     [extra_files(['TestLink.hs', 'f.c']),
      unless(doing_ghci, skip),
      when(arch('powerpc64') or arch('powerpc64le'), expect_broken(11259))],
     run_command, ['$MAKE -s --no-print-directory ghcilink004'])

test('ghcilink005', [extra_files(['TestLink.hs', 'f.c']),
                     unless(doing_ghci, skip)], run_command,
     ['$MAKE -s --no-print-directory ghcilink005'])

test('ghcilink006', [unless(doing_ghci, skip)], run_command,
     ['$MAKE -s --no-print-directory ghcilink006'])

test('T3333',
     [unless(doing_ghci, skip),
      unless(opsys('linux') or opsys('darwin') or ghc_dynamic(),
             expect_broken(3333))],
     run_command, ['$MAKE -s --no-print-directory T3333'])