diff options
author | Thomas Miedema <thomasmiedema@gmail.com> | 2017-01-22 13:24:13 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-01-22 14:43:51 -0500 |
commit | 5d38fb69fd1e7a434ccc3147ae6a17fe0b5b0be3 (patch) | |
tree | 6513044b8f87723c7db716824b33bbf804c02434 /testsuite/tests/layout | |
parent | 3f1a21d9725da96dc3cc5d51d97ee4fcc465db47 (diff) | |
download | haskell-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/layout')
-rw-r--r-- | testsuite/tests/layout/all.T | 58 |
1 files changed, 15 insertions, 43 deletions
diff --git a/testsuite/tests/layout/all.T b/testsuite/tests/layout/all.T index ddd53ee64f..cde69bfa1b 100644 --- a/testsuite/tests/layout/all.T +++ b/testsuite/tests/layout/all.T @@ -1,47 +1,19 @@ -test('layout001', - extra_clean(['layout001.hi', 'layout001.o']), - run_command, - ['$MAKE -s --no-print-directory layout001']) - -test('layout002', - extra_clean(['layout002.hi', 'layout002.o']), - run_command, - ['$MAKE -s --no-print-directory layout002']) - -test('layout003', - extra_clean(['layout003.hi', 'layout003.o']), - run_command, - ['$MAKE -s --no-print-directory layout003']) - -test('layout004', - extra_clean(['layout004.hi', 'layout004.o']), - run_command, - ['$MAKE -s --no-print-directory layout004']) - -test('layout005', - extra_clean(['layout005.hi', 'layout005.o']), - run_command, - ['$MAKE -s --no-print-directory layout005']) - -test('layout006', - extra_clean(['layout006.hi', 'layout006.o']), - run_command, - ['$MAKE -s --no-print-directory layout006']) - -test('layout007', - [req_interp, - extra_clean(['layout007.hi', 'layout007.o'])], - run_command, - ['$MAKE -s --no-print-directory layout007']) +test('layout001', [], run_command, ['$MAKE -s --no-print-directory layout001']) + +test('layout002', [], run_command, ['$MAKE -s --no-print-directory layout002']) + +test('layout003', [], run_command, ['$MAKE -s --no-print-directory layout003']) + +test('layout004', [], run_command, ['$MAKE -s --no-print-directory layout004']) -test('layout008', - extra_clean(['layout008.hi', 'layout008.o']), - run_command, - ['$MAKE -s --no-print-directory layout008']) +test('layout005', [], run_command, ['$MAKE -s --no-print-directory layout005']) + +test('layout006', [], run_command, ['$MAKE -s --no-print-directory layout006']) + +test('layout007', [req_interp], run_command, + ['$MAKE -s --no-print-directory layout007']) -test('layout009', - extra_clean(['layout009.hi', 'layout009.o']), - run_command, - ['$MAKE -s --no-print-directory layout009']) +test('layout008', [], run_command, ['$MAKE -s --no-print-directory layout008']) +test('layout009', [], run_command, ['$MAKE -s --no-print-directory layout009']) |