summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Trommler <ptrommler@acm.org>2018-06-14 09:15:40 -0400
committerBen Gamari <ben@smart-cactus.org>2018-06-14 10:03:28 -0400
commit5f5d0c9d43bbab922582f437c4a1a3f06ff3fd0e (patch)
treeb44c91af576cf7b20395fd8b3ff414b556b1f696
parent8ae7c1b5033beba576a2d9ffeb9f148bff220482 (diff)
downloadhaskell-5f5d0c9d43bbab922582f437c4a1a3f06ff3fd0e.tar.gz
Mark test broken on powerpc64[le]
Test num009 fails different results. #15062 lists more issues on other platforms. Test T14894 fails because DWARF support is not implemented in the PowerPC native code backend. T5435_v_asm_b fails because the runtime linker is not implemented for PowerPC 64-bit systems. Test Plan: validate Reviewers: bgamari, hvr, erikd, simonmar Reviewed By: bgamari Subscribers: rwbarton, thomie, carter GHC Trac Issues: #13634, #11261, #11259, #15062 Differential Revision: https://phabricator.haskell.org/D4825
-rw-r--r--libraries/base/tests/Numeric/all.T1
-rw-r--r--testsuite/tests/rts/all.T2
-rw-r--r--testsuite/tests/simplCore/should_run/all.T2
3 files changed, 4 insertions, 1 deletions
diff --git a/libraries/base/tests/Numeric/all.T b/libraries/base/tests/Numeric/all.T
index 0d7467e8f8..7b63cda605 100644
--- a/libraries/base/tests/Numeric/all.T
+++ b/libraries/base/tests/Numeric/all.T
@@ -14,6 +14,7 @@ else:
opts = ''
test('num009', [ when(fast(), skip)
, when(platform('i386-apple-darwin'), expect_broken(2370))
+ , when(platform('powerpc64le-unknown-linux'), expect_broken(13634))
, when(opsys('mingw32'), omit_ways(['ghci'])) ],
# We get different results at 1e20 on x86/Windows, so there is
# a special output file for that. I (SDM) don't think these are
diff --git a/testsuite/tests/rts/all.T b/testsuite/tests/rts/all.T
index 2faa7b744c..a08003df9c 100644
--- a/testsuite/tests/rts/all.T
+++ b/testsuite/tests/rts/all.T
@@ -198,6 +198,8 @@ test('T5435_v_asm_a', [extra_files(['T5435.hs', 'T5435_asm.c']),
# this one just needs to run on linux, as darwin/mingw32 are covered
# by the _a test already.
test('T5435_v_asm_b', [extra_files(['T5435.hs', 'T5435_asm.c']),
+ when(arch('powerpc64') or arch('powerpc64le'),
+ expect_broken(11259)),
when(opsys('darwin') or opsys('mingw32'), skip)],
run_command, ['$MAKE -s --no-print-directory T5435_v_asm_b'])
test('T5435_v_gcc', [extra_files(['T5435.hs', 'T5435_gcc.c']),
diff --git a/testsuite/tests/simplCore/should_run/all.T b/testsuite/tests/simplCore/should_run/all.T
index 3d8f540d20..99055a34d6 100644
--- a/testsuite/tests/simplCore/should_run/all.T
+++ b/testsuite/tests/simplCore/should_run/all.T
@@ -82,6 +82,6 @@ test('T14768', reqlib('vector'), compile_and_run, [''])
test('T14868',
[when((arch('powerpc64') or arch('powerpc64le')), expect_broken(11261))],
compile_and_run, [''])
-test('T14894', normal, compile_and_run, [''])
+test('T14894', [when((arch('powerpc64') or arch('powerpc64le')), expect_broken(11261))], compile_and_run, [''])
test('T14965', normal, compile_and_run, [''])
test('T15114', only_ways('optasm'), compile_and_run, [''])