diff options
Diffstat (limited to 'testsuite/tests/ghci/linking/dyn/all.T')
-rw-r--r-- | testsuite/tests/ghci/linking/dyn/all.T | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/testsuite/tests/ghci/linking/dyn/all.T b/testsuite/tests/ghci/linking/dyn/all.T index 3ce075d61b..4710959d0f 100644 --- a/testsuite/tests/ghci/linking/dyn/all.T +++ b/testsuite/tests/ghci/linking/dyn/all.T @@ -1,8 +1,10 @@ -test('load_short_name', [unless(doing_ghci, skip)], run_command, +test('load_short_name', [extra_files(['A.c']), + unless(doing_ghci, skip)], run_command, ['$MAKE -s --no-print-directory load_short_name']) test('T1407', - [unless(doing_ghci, skip), + [extra_files(['A.c']), + unless(doing_ghci, skip), pre_cmd('$MAKE -s --no-print-directory compile_libT1407'), extra_hc_opts('-L"$PWD/T1407dir"')], run_command, ['$MAKE --no-print-directory -s T1407']) @@ -13,22 +15,26 @@ test('T3242', ['$MAKE -s --no-print-directory T3242']) test('T10955', - [unless(doing_ghci, skip), unless(opsys('mingw32'), skip), + [extra_files(['A.c', 'B.c']), + unless(doing_ghci, skip), unless(opsys('mingw32'), skip), pre_cmd('$MAKE -s --no-print-directory compile_libAB_dep'), extra_hc_opts('-L. -L./bin_dep')], ghci_script, ['T10955.script']) -test('T10955dyn', [], run_command, +test('T10955dyn', [extra_files(['A.c', 'B.c'])], run_command, ['$MAKE -s --no-print-directory compile_libAB_dyn']) test('T10458', - [unless(doing_ghci, skip), + [extra_files(['A.c']), + unless(doing_ghci, skip), 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)], +test('T11072gcc', [extra_files(['A.c', 'T11072.hs']), + unless(doing_ghci, skip), unless(opsys('mingw32'), skip)], run_command, ['$MAKE -s --no-print-directory compile_libAS_impl_gcc']) -test('T11072msvc', [unless(doing_ghci, skip), unless(opsys('mingw32'), skip)], +test('T11072msvc', [extra_files(['A.c', 'T11072.hs', 'libAS.def', 'i686/', 'x86_64/']), + unless(doing_ghci, skip), unless(opsys('mingw32'), skip)], run_command, ['$MAKE -s --no-print-directory compile_libAS_impl_msvc']) |