Commit be1c1d86 authored by Simon Marlow's avatar Simon Marlow

remove one more ordering dependency

parent a0f33470
......@@ -13,11 +13,6 @@ mod144::
$(TEST_HC) -c Mod144_A.hs
$(TEST_HC) -c mod144.hs || echo "exit($$?)" 1>&2
rm -f Mod145_A.o Mod145_A.hi mod146.o mod146.hi mod146
$(TEST_HC) -c Mod145_A.hs
$(TEST_HC) -c mod146.hs || echo "exit($$?)" 1>&2
# These tests share some source files, so to avoid clashing when
# using multiple threads we direct the outputs to different files
# depending on the test name.
......@@ -25,6 +20,11 @@ AUX_O = $@_o
AUX_HI = $@_hi
AUX_OPTS = -osuf $(AUX_O) -hisuf $(AUX_HI)
rm -f Mod145_A.$(AUX_O) Mod145_A.$(AUX_HI) mod146.$(AUX_O) mod146.$(AUX_HI) mod146
$(TEST_HC) $(AUX_OPTS) -c Mod145_A.hs
$(TEST_HC) $(AUX_OPTS) -c mod146.hs || echo "exit($$?)" 1>&2
rm -f Mod157_*.$(AUX_O) Mod157_*.$(AUX_HI)
rm -f mod158.$(AUX_O) mod158.$(AUX_HI) mod158
......@@ -238,7 +238,8 @@ test('mod144', extra_clean(['Mod144_A.hi', 'Mod144_A.o']),
test('mod145', extra_clean(['Mod145_A.hi', 'Mod145_A.o']),
multimod_compile_fail, ['mod145', '-v0'])
test('mod146', extra_clean(['Mod145_A.hi', 'Mod145_A.o']),
extra_clean(['Mod145_A.mod146_hi', 'Mod145_A.mod146_o', 'mod146.mod146_o', 'mod146.mod146_hi']),
run_command, ['$MAKE -s --no-print-directory mod146'])
test('mod147', extra_clean(['Mod147_A.hi', 'Mod147_A.o']),
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