summaryrefslogtreecommitdiff
path: root/testsuite/tests/rts/T12031
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2017-01-22 13:24:13 -0500
committerBen Gamari <ben@smart-cactus.org>2017-01-22 14:43:51 -0500
commit5d38fb69fd1e7a434ccc3147ae6a17fe0b5b0be3 (patch)
tree6513044b8f87723c7db716824b33bbf804c02434 /testsuite/tests/rts/T12031
parent3f1a21d9725da96dc3cc5d51d97ee4fcc465db47 (diff)
downloadhaskell-5d38fb69fd1e7a434ccc3147ae6a17fe0b5b0be3.tar.gz
Remove clean_cmd and extra_clean usage from .T files
The `clean_cmd` and `extra_clean` setup functions don't do anything. Remove them from .T files. Created using https://github.com/thomie/refactor-ghc-testsuite. This diff is a test for the .T-file parser/processor/pretty-printer in that repository. find . -name '*.T' -exec ~/refactor-ghc-testsuite/Main "{}" \; Tests containing inline comments or multiline strings are not modified. Preparation for #12223. Test Plan: Harbormaster Reviewers: austin, hvr, simonmar, mpickering, bgamari Reviewed By: mpickering Subscribers: mpickering Differential Revision: https://phabricator.haskell.org/D3000 GHC Trac Issues: #12223
Diffstat (limited to 'testsuite/tests/rts/T12031')
-rw-r--r--testsuite/tests/rts/T12031/all.T9
1 files changed, 4 insertions, 5 deletions
diff --git a/testsuite/tests/rts/T12031/all.T b/testsuite/tests/rts/T12031/all.T
index 5e1a0a886f..abff4472e4 100644
--- a/testsuite/tests/rts/T12031/all.T
+++ b/testsuite/tests/rts/T12031/all.T
@@ -1,5 +1,4 @@
-test('T12031', [ extra_clean(['bar.o', 'baz.o', 'ExternBug.o'])
- , extra_files(['bar.c', 'baz.c', 'ExternBug.hs', 'foo.h'])
- , unless(opsys('mingw32'), skip)
- ],
- run_command, ['$MAKE -s --no-print-directory T12031'])
+test('T12031',
+ [extra_files(['bar.c', 'baz.c', 'ExternBug.hs', 'foo.h']),
+ unless(opsys('mingw32'), skip)],
+ run_command, ['$MAKE -s --no-print-directory T12031'])