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/hsc2hs | |
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/hsc2hs')
-rw-r--r-- | testsuite/tests/hsc2hs/all.T | 58 |
1 files changed, 16 insertions, 42 deletions
diff --git a/testsuite/tests/hsc2hs/all.T b/testsuite/tests/hsc2hs/all.T index 23628b2ea4..03dd69a8d4 100644 --- a/testsuite/tests/hsc2hs/all.T +++ b/testsuite/tests/hsc2hs/all.T @@ -1,44 +1,18 @@ -test('hsc2hs001', - extra_clean(['hsc2hs001.hs', 'hsc2hs001_hsc_make.c']), - run_command, - ['$MAKE -s --no-print-directory hsc2hs001']) - -test('hsc2hs002', - extra_clean(['hsc2hs002.hs', 'hsc2hs002_hsc_make.c']), - run_command, - ['$MAKE -s --no-print-directory hsc2hs002']) - -test('hsc2hs003', - extra_clean(['hsc2hs003.hs', 'hsc2hs003_hsc_make.c']), - run_command, - ['$MAKE -s --no-print-directory hsc2hs003']) - -test('hsc2hs004', - extra_clean(['hsc2hs004.hs', 'hsc2hs004_hsc_make.c']), - run_command, - ['$MAKE -s --no-print-directory hsc2hs004']) - - -test('T3837', - [extra_clean(['T3837.hs', 'T3837_hsc_make.c'])], - run_command, - ['$MAKE -s --no-print-directory T3837']) - -test('T4340', - [extra_clean(['T4340.hs', 'T4340_hsc_make.c', - 'T4340_hsc.c', 'T4340_hsc.h'])], - run_command, - ['$MAKE -s --no-print-directory T4340']) - -test('T10272', - [extra_clean(['T10272.hs', 'T10272_hsc_make.c'])], - run_command, - ['$MAKE -s --no-print-directory T10272']) - -test('T12504', - [extra_clean(['T12504/path/to/T12504.hs']), - extra_files(['T12504']), - ignore_stdout], - run_command, +test('hsc2hs001', [], run_command, ['$MAKE -s --no-print-directory hsc2hs001']) + +test('hsc2hs002', [], run_command, ['$MAKE -s --no-print-directory hsc2hs002']) + +test('hsc2hs003', [], run_command, ['$MAKE -s --no-print-directory hsc2hs003']) + +test('hsc2hs004', [], run_command, ['$MAKE -s --no-print-directory hsc2hs004']) + + +test('T3837', [], run_command, ['$MAKE -s --no-print-directory T3837']) + +test('T4340', [], run_command, ['$MAKE -s --no-print-directory T4340']) + +test('T10272', [], run_command, ['$MAKE -s --no-print-directory T10272']) + +test('T12504', [extra_files(['T12504']), ignore_stdout], run_command, ['$MAKE -s --no-print-directory T12504']) |