summaryrefslogtreecommitdiff
path: root/testsuite/tests/dynlibs
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/dynlibs
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/dynlibs')
-rw-r--r--testsuite/tests/dynlibs/all.T29
1 files changed, 3 insertions, 26 deletions
diff --git a/testsuite/tests/dynlibs/all.T b/testsuite/tests/dynlibs/all.T
index 6a9dfd9655..0713fe491e 100644
--- a/testsuite/tests/dynlibs/all.T
+++ b/testsuite/tests/dynlibs/all.T
@@ -1,32 +1,9 @@
-test('T3807',
- [req_shared_libs,
- extra_clean(['T3807Export_stub.c', 'T3807Export_stub.h',
- 'T3807Export_stub.o',
- 'T3807Export.o', 'T3807Export.hi',
- 'T3807-export.o', 'T3807-load.o',
- 'T3807test.so',
- 'T3807-load']),
- when(opsys('mingw32'), skip)],
- run_command,
+test('T3807', [req_shared_libs, when(opsys('mingw32'), skip)], run_command,
['$MAKE --no-print-directory -s T3807'])
-test('T4464',
- [req_shared_libs,
- extra_clean(['T4464B.o', 'T4464C.o', 'T4464H.hi', 'T4464H.o',
- 'T4464H_stub.c', 'T4464H_stub.h', 'T4464H_stub.o',
- 'HS4464.dll', 'HS4464.dll.a', 't4464.exe']),
- unless(opsys('mingw32'), skip)],
- run_command,
+test('T4464', [req_shared_libs, unless(opsys('mingw32'), skip)], run_command,
['$MAKE --no-print-directory -s T4464'])
-test('T5373',
- [req_shared_libs,
- extra_clean(['T5373A.hi', 'T5373B.hi', 'T5373C.hi', 'T5373D.hi',
- 'T5373A.o', 'T5373B.o', 'T5373C.o', 'T5373D.o',
- 'T5373A', 'T5373B', 'T5373C', 'T5373D',
- 'T5373A.exe', 'T5373B.exe', 'T5373C.exe', 'T5373D.exe'])
- ],
- run_command,
+test('T5373', [req_shared_libs], run_command,
['$MAKE --no-print-directory -s T5373'])
-