summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/linking/dyn/all.T
diff options
context:
space:
mode:
authorTamar Christina <tamar@zhox.com>2016-05-01 17:25:48 +0200
committerTamar Christina <tamar@zhox.com>2016-05-01 19:27:06 +0200
commite6627d1f8964807f19f8773f09cfaacae7ca8ab8 (patch)
tree3c50eeda369b3bc1616abd6820d2f113df464f72 /testsuite/tests/ghci/linking/dyn/all.T
parentf69e7078930ea0f80dbd3a0d1a4b89db83a32a32 (diff)
downloadhaskell-e6627d1f8964807f19f8773f09cfaacae7ca8ab8.tar.gz
Fix aggressive cleanup of T1407
Summary: The aggressive cleanup routine of T1407 is removing files that don't belong to it. Constrain the test to only removing files it should by putting all it's generated binaries in it's own output folder. Test Plan: make test -C testsuite/tests/ghci/linking/dyn Reviewers: austin, bgamari Reviewed By: bgamari Subscribers: thomie, #ghc_windows_task_force Differential Revision: https://phabricator.haskell.org/D2165 GHC Trac Issues: #1407
Diffstat (limited to 'testsuite/tests/ghci/linking/dyn/all.T')
-rw-r--r--testsuite/tests/ghci/linking/dyn/all.T6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/tests/ghci/linking/dyn/all.T b/testsuite/tests/ghci/linking/dyn/all.T
index d54c84eec9..b8ef670830 100644
--- a/testsuite/tests/ghci/linking/dyn/all.T
+++ b/testsuite/tests/ghci/linking/dyn/all.T
@@ -6,9 +6,9 @@ test('load_short_name',
test('T1407',
[unless(doing_ghci, skip),
- extra_clean(['libAS.*']),
- pre_cmd('$MAKE -s --no-print-directory compile_libAS'),
- extra_hc_opts('-L.')],
+ extra_clean(['T1407dir/libAS.*']),
+ pre_cmd('$MAKE -s --no-print-directory compile_libT1407'),
+ extra_hc_opts('-L$PWD/T1407dir')],
run_command, ['$MAKE --no-print-directory -s T1407'])
test('T3242',