Commit 9a20379e authored by Simon Marlow's avatar Simon Marlow

Fix ffi023

parent aa1c1b2a
......@@ -20,6 +20,9 @@ T5402_setup :
T5594_setup :
'$(TEST_HC)' $(TEST_HC_OPTS) -c T5594.hs
ffi023_setup :
'$(TEST_HC)' $(TEST_HC_OPTS) -c ffi023.hs
.PHONY: Capi_Ctype_001
Capi_Ctype_001:
'$(HSC2HS)' Capi_Ctype_A_001.hsc
......
......@@ -211,5 +211,9 @@ test('T8083',
test('ffi023', [ omit_ways(['ghci']),
extra_clean(['ffi023_c.o']),
extra_run_opts('1000 4') ],
extra_run_opts('1000 4'),
pre_cmd('$MAKE -s --no-print-directory ffi023_setup') ],
# The ffi023_setup hack is to ensure that we generate
# ffi023_stub.h before compiling ffi023_c.c, which
# needs it.
compile_and_run, ['ffi023_c.c'])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment