summaryrefslogtreecommitdiff
path: root/testsuite/config/ghc
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/config/ghc
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/config/ghc')
-rw-r--r--testsuite/config/ghc3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/config/ghc b/testsuite/config/ghc
index b9991d7729..b126580863 100644
--- a/testsuite/config/ghc
+++ b/testsuite/config/ghc
@@ -165,6 +165,9 @@ def get_compiler_info():
s = re.sub('[\r\n]', '', s)
rtsInfoDict = dict(eval(s))
+ # external interpreter needs RTS linker support
+ config.have_ext_interp = compilerInfoDict["target has RTS linker"] == "YES"
+
# See Note [Replacing backward slashes in config.libdir].
config.libdir = compilerInfoDict['LibDir'].replace('\\', '/')