Mark test broken on powerpc64[le]
authorPeter Trommler <ptrommler@acm.org>
Thu, 14 Jun 2018 13:15:40 +0000 (09:15 -0400)
committerBen Gamari <ben@smart-cactus.org>
Thu, 14 Jun 2018 14:03:28 +0000 (10:03 -0400)
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

libraries/base/tests/Numeric/all.T
testsuite/tests/rts/all.T
testsuite/tests/simplCore/should_run/all.T

index 0d7467e..7b63cda 100644 (file)
@@ -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
index 2faa7b7..a08003d 100644 (file)
@@ -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']),
index 3d8f540..99055a3 100644 (file)
@@ -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, [''])