summaryrefslogtreecommitdiff
path: root/testsuite/tests/ffi/should_run/all.T
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ffi/should_run/all.T')
-rw-r--r--testsuite/tests/ffi/should_run/all.T7
1 files changed, 4 insertions, 3 deletions
diff --git a/testsuite/tests/ffi/should_run/all.T b/testsuite/tests/ffi/should_run/all.T
index 38f0288410..1bb58c5e49 100644
--- a/testsuite/tests/ffi/should_run/all.T
+++ b/testsuite/tests/ffi/should_run/all.T
@@ -85,7 +85,8 @@ test('ffi017', normal, compile_and_run, [''])
test('ffi018', [omit_ways(['ghci'])], compile_and_run, ['ffi018_c.c'])
test('ffi018_ghci',
- [only_ways(['ghci']),
+ [extra_files(['ffi018.h']),
+ only_ways(['ghci']),
pre_cmd('$MAKE -s --no-print-directory ffi018_ghci_setup')],
compile_and_run, ['ffi018_ghci_c.o'])
@@ -155,10 +156,10 @@ test('T5594', [ omit_ways(['ghci']),
# needs it.
compile_and_run, ['T5594_c.c -no-hs-main'])
-test('Capi_Ctype_001', [], run_command,
+test('Capi_Ctype_001', [extra_files(['Capi_Ctype_A_001.hsc', 'capi_ctype_001.h', 'capi_ctype_001_c.c'])], run_command,
['$MAKE -s --no-print-directory Capi_Ctype_001'])
-test('Capi_Ctype_002', [], run_command,
+test('Capi_Ctype_002', [extra_files(['Capi_Ctype_A_002.hsc', 'capi_ctype_002_A.h', 'capi_ctype_002_B.h'])], run_command,
['$MAKE -s --no-print-directory Capi_Ctype_002'])
test('ffi_parsing_001', [omit_ways(['ghci'])], compile_and_run,