summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/linking/all.T
diff options
context:
space:
mode:
authorTamar Christina <tamar@zhox.com>2015-10-10 15:21:09 +0200
committerThomas Miedema <thomasmiedema@gmail.com>2015-10-10 15:24:11 +0200
commit5d841108acef950fed6a5e608ac9b18e7431aa87 (patch)
tree9163e5e3ef7319cb54720190a0478a0eeb0539f6 /testsuite/tests/ghci/linking/all.T
parente331392e1891941916ee8e508a127ec7fec33d3d (diff)
downloadhaskell-5d841108acef950fed6a5e608ac9b18e7431aa87.tar.gz
Add short library names support to Windows linker
Make Linker.hs try asking gcc for lib%s.dll as well, also changed tryGcc to pass -L to all components by using -B instead. These two fix shortnames linking on windows. re-enabled tests: ghcilink003, ghcilink006 and T3333 Added two tests: load_short_name and enabled T1407 on windows. Reviewed By: thomie, bgamari Differential Revision: https://phabricator.haskell.org/D1310 GHC Trac Issues: #9878, #1407, #1883, #5289
Diffstat (limited to 'testsuite/tests/ghci/linking/all.T')
-rw-r--r--testsuite/tests/ghci/linking/all.T8
1 files changed, 1 insertions, 7 deletions
diff --git a/testsuite/tests/ghci/linking/all.T b/testsuite/tests/ghci/linking/all.T
index 4d05b8f355..fc3516aafa 100644
--- a/testsuite/tests/ghci/linking/all.T
+++ b/testsuite/tests/ghci/linking/all.T
@@ -12,8 +12,6 @@ test('ghcilink002',
test('ghcilink003',
[
- # still cannot load libstdc++ on Windows. See also #4468.
- when(opsys('mingw32'), expect_broken(5289)),
unless(doing_ghci, skip),
extra_clean(['dir003/*','dir003'])
],
@@ -36,8 +34,6 @@ test('ghcilink005',
test('ghcilink006',
[
- # still cannot load libstdc++ on Windows. See also #4468.
- when(opsys('mingw32'), expect_broken(5289)),
unless(doing_ghci, skip),
extra_clean(['dir006/ghcilink006.package.conf/*', 'dir006/*','dir006'])
],
@@ -47,9 +43,7 @@ test('ghcilink006',
test('T3333',
[extra_clean(['T3333.o']),
unless(doing_ghci, skip),
- unless(opsys('linux') or ghci_dynamic(), expect_broken(3333))],
+ unless(ghci_dynamic(), expect_broken(3333))],
run_command,
['$MAKE -s --no-print-directory T3333'])
-test('T1407', when(opsys('mingw32'), expect_broken(1407)),
- ghci_script, ['T1407.script'])