Commit da80f8e9 authored by ian@well-typed.com's avatar ian@well-typed.com

Fix some testsuite cleaning; part of #7941

parent 133b500c
......@@ -26,4 +26,8 @@ endif
clean distclean maintainer-clean:
$(MAKE) -C $(TOP)/timeout $@
$(RM) -f mk/*.o mk/*.hi mk/ghc-config mk/ghc-config.exe mk/ghcconfig*.mk
$(RM) -f mk/*.o
$(RM) -f mk/*.hi
$(RM) -f mk/ghcconfig*.mk
$(RM) -f mk/ghc-config mk/ghc-config.exe
$(RM) -f driver/*.pyc
......@@ -495,7 +495,7 @@ T706:
T5584:
$(RM) -rf T5584_out
mkdir T5584_out
"$(TEST_HC)" -odir T5584_out -c T5584/A.hs-boot
"$(TEST_HC)" -odir T5584_out -c T5584_in/A.hs-boot
.PHONY: T5198
T5198:
......
......@@ -353,8 +353,9 @@ test('spacesInArgs',
compile_and_run,
[''])
test('T5584', normal, run_command,
['$MAKE -s --no-print-directory T5584'])
test('T5584',
extra_clean(['T5584_in/A.hi-boot', 'T5584_out/T5584/A.o-boot']),
run_command, ['$MAKE -s --no-print-directory T5584'])
test('T5198', extra_clean(['T5198dump/T5198.dump-simpl', 'T5198dump']),
run_command,
['$MAKE -s --no-print-directory T5198'])
......
......@@ -77,7 +77,7 @@ test('ghci056',
[
pre_cmd('$MAKE -s --no-print-directory ghci056_setup'),
extra_run_opts('ghci056_c.o'),
extra_clean('ghci056_c.o')
extra_clean(['ghci056_c.o'])
],
ghci_script, ['ghci056.script'])
......
......@@ -64,7 +64,7 @@ test('T7151', normal, compile_fail,[''])
test('T7095', normal, compile,[''])
test('T7090', normal, compile,[''])
test('T7272',
extra_clean(['T7272a.hi', 'T7272a.o']),
extra_clean(['T7272a.hi', 'T7272a.o', 'T7272.hi-boot', 'T7272.o-boot']),
multimod_compile,
['T7272.hs', '-v0'])
test('T7176', normal, compile,[''])
......
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