Commit 02f657ad authored by Simon Marlow's avatar Simon Marlow

remove ordering dependency for ffi018

parent c368d687
TOP=../../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
ffi018_ghci_setup :
cp ffi018_c.c ffi018_ghci_c.c
$(TEST_HC) -c ffi018_ghci_c.c
......@@ -95,7 +95,10 @@ test('ffi017', normal, compile_and_run, [''])
# There's a dependency between these next two lines as the ghci way needs
# the .o file the other ways make
test('ffi018', omit_ways(['ghci']), compile_and_run, ['ffi018_c.c'])
test('ffi018', only_ways(['ghci']), compile_and_run, ['ffi018_c.o'])
clean(['ffi018_c.o'])
runCmd('$MAKE --no-print-directory ffi018_ghci_setup')
test('ffi018', only_ways(['ghci']), compile_and_run, ['ffi018_ghci_c.o'])
clean(['ffi018_ghci_c.o'])
test('ffi019', normal, compile_and_run, [''])
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