f8679bcbfef1540719fb7aff560d2a3a8f18460a
[ghc.git] / testsuite / tests / ghci / linking / dyn / all.T
1 test('load_short_name', [extra_files(['A.c']),
2                          unless(doing_ghci, skip)], run_command,
3      ['$MAKE -s --no-print-directory load_short_name'])
4
5 test('T1407',
6      [extra_files(['A.c']),
7       unless(doing_ghci, skip),
8       pre_cmd('$MAKE -s --no-print-directory compile_libT1407'),
9       extra_hc_opts('-L"$PWD/T1407dir"')],
10      run_command, ['$MAKE --no-print-directory -s T1407'])
11
12 test('T3242',
13      [unless(doing_ghci, skip), unless(opsys('mingw32'), skip)],
14      run_command,
15      ['$MAKE -s --no-print-directory T3242'])
16
17 test('T10955',
18      [extra_files(['A.c', 'B.c']),
19       unless(doing_ghci, skip), unless(opsys('mingw32'), skip),
20       pre_cmd('$MAKE -s --no-print-directory compile_libAB_dep'),
21       extra_hc_opts('-L. -L./bin_dep')],
22      ghci_script, ['T10955.script'])
23
24 test('T10955dyn', [extra_files(['A.c', 'B.c'])], run_command,
25      ['$MAKE -s --no-print-directory compile_libAB_dyn'])
26
27 test('T10458',
28      [extra_files(['A.c']),
29       unless(doing_ghci, skip),
30       pre_cmd('$MAKE -s --no-print-directory compile_libT10458'),
31       extra_hc_opts('-L"$PWD/T10458dir" -lAS')],
32      ghci_script, ['T10458.script'])
33
34 test('T11072gcc', [extra_files(['A.c', 'T11072.hs']),
35                    unless(doing_ghci, skip), unless(opsys('mingw32'), skip)],
36      run_command, ['$MAKE -s --no-print-directory compile_libAS_impl_gcc'])
37
38 test('T11072msvc', [extra_files(['A.c', 'T11072.hs', 'libAS.def', 'i686/', 'x86_64/']),
39                     unless(doing_ghci, skip), unless(opsys('mingw32'), skip)],
40      run_command, ['$MAKE -s --no-print-directory compile_libAS_impl_msvc'])
41
42 test('T13606', [unless(doing_ghci, skip), unless(opsys('mingw32'), skip),
43                 exit_code(0)],
44      run_command, ['$MAKE -s --no-print-directory T13606'])
45
46 test('big-obj', [extra_files(['big-obj-c.c', 'big-obj.hs']),
47                     unless(doing_ghci, skip), unless(opsys('mingw32'), skip)],
48      run_command, ['$MAKE -s --no-print-directory big-obj'])