summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/linking/dyn/all.T
blob: d54c84eec9a722aa22a9218eb45509eeb1693361 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
test('load_short_name',
     [unless(doing_ghci, skip),
     extra_clean(['bin_short/*', 'bin_short'])],
     run_command,
     ['$MAKE -s --no-print-directory load_short_name'])

test('T1407',
     [unless(doing_ghci, skip),
     extra_clean(['libAS.*']),
     pre_cmd('$MAKE -s --no-print-directory compile_libAS'),
     extra_hc_opts('-L.')],
     run_command, ['$MAKE --no-print-directory -s T1407'])

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

test('T10955',
     [unless(doing_ghci, skip),unless(opsys('mingw32'), skip),
     extra_clean(['bin_dep/*', 'bin_dep']),
     pre_cmd('$MAKE -s --no-print-directory compile_libAB_dep'),
     extra_hc_opts('-L. -L./bin_dep')],
     ghci_script, ['T10955.script'])

test('T10955dyn',
     [extra_clean(['bin_dyn/*', 'bin_dyn'])],
     run_command,
     ['$MAKE -s --no-print-directory compile_libAB_dyn'])

test('T10458',
     [unless(doing_ghci, skip),
     extra_clean(['T10458dir/libAS.*']),
     pre_cmd('$MAKE -s --no-print-directory compile_libT10458'),
     extra_hc_opts('-L$PWD/T10458dir -lAS')],
     ghci_script, ['T10458.script'])

test('T11072gcc',
     [unless(doing_ghci, skip), unless(opsys('mingw32'), skip), extra_clean(['bin_impl_gcc/*', 'bin_impl_gcc'])],
     run_command,
     ['$MAKE -s --no-print-directory compile_libAS_impl_gcc'])

test('T11072msvc',
     [unless(doing_ghci, skip), unless(opsys('mingw32'), skip), extra_clean(['bin_impl_msvc/*', 'bin_impl_msvc'])],
     run_command,
     ['$MAKE -s --no-print-directory compile_libAS_impl_msvc'])