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