[commit: ghc] master: Mark broken tests on powerpc64le and skip ghci-ext (bd80831)

git at git.haskell.org git at git.haskell.org
Sat Dec 8 05:04:52 UTC 2018


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

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

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

commit bd80831610092fef2f540abe9725e177c1ef0df8
Author: Peter Trommler <ptrommler at acm.org>
Date:   Fri Dec 7 23:17:51 2018 -0500

    Mark broken tests on powerpc64le and skip ghci-ext
    
    Mark tests with DWARF as broken
    Test way `ghci-ext` only where available
    
    Test Plan: validate
    
    Reviewers: bgamari, hvr, simonmar, erikd, Phyx
    
    Reviewed By: bgamari, Phyx
    
    Subscribers: Phyx, rwbarton, carter
    
    Differential Revision: https://phabricator.haskell.org/D5297


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

bd80831610092fef2f540abe9725e177c1ef0df8
 testsuite/tests/ghci.debugger/scripts/all.T | 2 +-
 testsuite/tests/rts/all.T                   | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/testsuite/tests/ghci.debugger/scripts/all.T b/testsuite/tests/ghci.debugger/scripts/all.T
index 7336311..156f8e1 100644
--- a/testsuite/tests/ghci.debugger/scripts/all.T
+++ b/testsuite/tests/ghci.debugger/scripts/all.T
@@ -1,5 +1,5 @@
 setTestOpts([extra_run_opts('-ignore-dot-ghci'),
-             extra_ways(['ghci-ext']), # test with -fexternal-interpreter
+             when(config.have_ext_interp, extra_ways(['ghci-ext'])), # test with -fexternal-interpreter
              normalise_slashes])
 
 test('print001', normal, ghci_script, ['print001.script'])
diff --git a/testsuite/tests/rts/all.T b/testsuite/tests/rts/all.T
index e42d970..6339344 100644
--- a/testsuite/tests/rts/all.T
+++ b/testsuite/tests/rts/all.T
@@ -454,6 +454,7 @@ test('keep-cafs-fail',
   [ extra_files(['KeepCafsBase.hs', 'KeepCafs1.hs',
                  'KeepCafs2.hs', 'KeepCafsMain.hs']),
     when(opsys('mingw32'), expect_broken (5987)),
+    when(platform('powerpc64le-unknown-linux'), expect_broken(11261)),
     filter_stdout_lines('Evaluated a CAF|exit.*'),
     ignore_stderr, # on OS X the shell emits an "Abort trap" message to stderr
   ],
@@ -465,6 +466,7 @@ test('keep-cafs',
   [ extra_files(['KeepCafsBase.hs', 'KeepCafs1.hs',
                  'KeepCafs2.hs', 'KeepCafsMain.hs']),
     when(opsys('mingw32'), expect_broken (5987)),
+    when(platform('powerpc64le-unknown-linux'), expect_broken(11261))
   ],
   run_command,
   ['$MAKE -s --no-print-directory KeepCafs'])



More information about the ghc-commits mailing list