summaryrefslogtreecommitdiff
path: root/testsuite/tests/safeHaskell/safeLanguage/all.T
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/safeHaskell/safeLanguage/all.T
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/safeHaskell/safeLanguage/all.T')
-rw-r--r--testsuite/tests/safeHaskell/safeLanguage/all.T30
1 files changed, 5 insertions, 25 deletions
diff --git a/testsuite/tests/safeHaskell/safeLanguage/all.T b/testsuite/tests/safeHaskell/safeLanguage/all.T
index 8dad0efee6..a8a1bc0d7b 100644
--- a/testsuite/tests/safeHaskell/safeLanguage/all.T
+++ b/testsuite/tests/safeHaskell/safeLanguage/all.T
@@ -21,35 +21,15 @@ test('SafeLang05', normal, compile_and_run, [''])
test('SafeLang07', normal, compile_fail, [''])
test('SafeLang08', normal, compile_fail, [''])
-test('SafeLang09',
- [exit_code(1),
- extra_clean(['SafeLang09_A.o', 'SafeLang09_A.hi',
- 'SafeLang09_B.o', 'SafeLang09_B.hi'])],
- compile_and_run,
- [''])
-test('SafeLang10',
- extra_clean(['SafeLang10_A.o', 'SafeLang10_A.hi',
- 'SafeLang10_B.o', 'SafeLang10_B.hi']),
- multimod_compile_fail,
- ['SafeLang10', ''])
-test('SafeLang11',
- [req_interp,
- extra_clean(['SafeLang11_A.o', 'SafeLang11_A.hi',
- 'SafeLang11_B.o', 'SafeLang11_B.hi'])],
- multimod_compile_and_run,
+test('SafeLang09', [exit_code(1)], compile_and_run, [''])
+test('SafeLang10', [], multimod_compile_fail, ['SafeLang10', ''])
+test('SafeLang11', [req_interp], multimod_compile_and_run,
['SafeLang11', config.ghc_th_way_flags])
test('SafeLang12', normal, multimod_compile_fail, ['SafeLang12', ''])
-test('SafeLang15',
- [exit_code(1),
- extra_clean(['SafeLang15_A.o', 'SafeLang15_A.hi'])],
- multimod_compile_and_run,
+test('SafeLang15', [exit_code(1)], multimod_compile_and_run,
['SafeLang15', '-XSafe'])
test('SafeLang16', normal, compile, [''])
-test('SafeLang17',
- extra_clean(['SafeLang17_A.o', 'SafeLang17_A.hi',
- 'SafeLang17_B.o', 'SafeLang17_B.hi']),
- multimod_compile_fail,
- ['SafeLang17', ''])
+test('SafeLang17', [], multimod_compile_fail, ['SafeLang17', ''])
test('SafeLang18', normal, compile, [''])