summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci
diff options
context:
space:
mode:
authorPeter Trommler <ptrommler@acm.org>2016-12-26 10:04:54 -0500
committerBen Gamari <ben@smart-cactus.org>2016-12-27 12:44:25 -0500
commit4dec7d191fbc26276cc2c8306d9d03e71e277979 (patch)
treeb7dbe0c3ebd757acdac5f0459e6dfd1fa6704278 /testsuite/tests/ghci
parent88f5add0280788d424c9df5f751a73e73a1a4284 (diff)
downloadhaskell-4dec7d191fbc26276cc2c8306d9d03e71e277979.tar.gz
Testsuite: Skip failing tests on PowerPC 64-bit
The Power ISA says the result of a division by zero is undefined. So ignore stdout on PowerPC 64-bit systems. Disable ext-interp tests on 64-bit PowerPC. We don't have support for PowerPC 64-bit ELF in the RTS linker, which is needed for the external interpreter. Test Plan: ./validate Reviewers: austin, simonmar, hvr, erikd, bgamari Reviewed By: bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2782
Diffstat (limited to 'testsuite/tests/ghci')
-rwxr-xr-xtestsuite/tests/ghci/scripts/all.T3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/tests/ghci/scripts/all.T b/testsuite/tests/ghci/scripts/all.T
index 08ae3a2e87..d448a12d9f 100755
--- a/testsuite/tests/ghci/scripts/all.T
+++ b/testsuite/tests/ghci/scripts/all.T
@@ -97,7 +97,8 @@ test('ghci056',
test('ghci057', normal, ghci_script, ['ghci057.script'])
test('ghci060', normal, ghci_script, ['ghci060.script'])
test('ghci061', normal, ghci_script, ['ghci061.script'])
-test('ghci062', extra_ways(['ghci-ext']), ghci_script, ['ghci062.script'])
+test('ghci062', when(config.have_ext_interp, extra_ways(['ghci-ext'])),
+ ghci_script, ['ghci062.script'])
test('T2452', normal, ghci_script, ['T2452.script'])
test('T2766', normal, ghci_script, ['T2766.script'])