[commit: ghc] master: Mark test broken on powerpc64[le] (5f5d0c9)

git at git.haskell.org git at git.haskell.org
Thu Jun 14 14:06:29 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/5f5d0c9d43bbab922582f437c4a1a3f06ff3fd0e/ghc

>---------------------------------------------------------------

commit 5f5d0c9d43bbab922582f437c4a1a3f06ff3fd0e
Author: Peter Trommler <ptrommler at acm.org>
Date:   Thu Jun 14 09:15:40 2018 -0400

    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


>---------------------------------------------------------------

5f5d0c9d43bbab922582f437c4a1a3f06ff3fd0e
 libraries/base/tests/Numeric/all.T         | 1 +
 testsuite/tests/rts/all.T                  | 2 ++
 testsuite/tests/simplCore/should_run/all.T | 2 +-
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/libraries/base/tests/Numeric/all.T b/libraries/base/tests/Numeric/all.T
index 0d7467e..7b63cda 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 2faa7b7..a08003d 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 3d8f540..99055a3 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, [''])



More information about the ghc-commits mailing list