summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-01-24 10:02:34 -0500
committerBen Gamari <ben@smart-cactus.org>2020-02-14 10:16:36 -0500
commit71e5e68fd3794cc63f513d30d467e43761a8ce62 (patch)
tree69356fbd61fb661ab4369bf4650deb4f3ccef06b
parente5ee07ab565c1bf7a33d3bd4bcd3fb6c7b100d1c (diff)
downloadhaskell-71e5e68fd3794cc63f513d30d467e43761a8ce62.tar.gz
testsuite: Disable tests that assume name of libstdc++ on FreeBSD
-rw-r--r--testsuite/tests/ghci/linking/all.T14
-rw-r--r--testsuite/tests/th/all.T5
2 files changed, 16 insertions, 3 deletions
diff --git a/testsuite/tests/ghci/linking/all.T b/testsuite/tests/ghci/linking/all.T
index c537066f08..7181b161f2 100644
--- a/testsuite/tests/ghci/linking/all.T
+++ b/testsuite/tests/ghci/linking/all.T
@@ -10,7 +10,12 @@ test('ghcilink002', [extra_files(['TestLink.hs', 'f.c']),
unless(doing_ghci, skip)],
makefile_test, ['ghcilink002'])
-test('ghcilink003', [unless(doing_ghci, skip)], makefile_test, ['ghcilink003'])
+test('ghcilink003',
+ [unless(doing_ghci, skip),
+ # libstdc++ is named differently on FreeBSD
+ when(opsys('freebsd'), expect_broken(17739))],
+ makefile_test,
+ ['ghcilink003'])
test('ghcilink004',
[extra_files(['TestLink.hs', 'f.c']),
@@ -24,7 +29,12 @@ test('ghcilink005',
unless(doing_ghci, skip)],
makefile_test, ['ghcilink005'])
-test('ghcilink006', [unless(doing_ghci, skip)], makefile_test, ['ghcilink006'])
+test('ghcilink006',
+ [unless(doing_ghci, skip),
+ # libstdc++ is named differently on FreeBSD
+ when(opsys('freebsd'), expect_broken(17739))],
+ makefile_test,
+ ['ghcilink006'])
test('T3333',
[unless(doing_ghci, skip),
diff --git a/testsuite/tests/th/all.T b/testsuite/tests/th/all.T
index 72cb2b96df..690270d732 100644
--- a/testsuite/tests/th/all.T
+++ b/testsuite/tests/th/all.T
@@ -390,7 +390,10 @@ test('T13123', normal, compile, ['-v0'])
test('T13098', normal, compile, ['-v0'])
test('T11046', normal, multimod_compile, ['T11046','-v0'])
test('T13366',
- [expect_broken_for(13366, ['ghci']), when(opsys('darwin'), expect_broken(16083))],
+ [expect_broken_for(13366, ['ghci']),
+ # libstdc++ is named differently on FreeBSD
+ when(opsys('freebsd'), expect_broken(17739)),
+ when(opsys('darwin'), expect_broken(16083))],
compile_and_run,
['-lstdc++ -v0'])
test('T13473', normal, multimod_compile_and_run,