[commit: testsuite] ghc-7.6: derefnull(ghci) and divbyzero(ghci) fail on Win32 in 7.4 and 7.6 (3466590)
Ian Lynagh
igloo at earth.li
Sat Jan 26 00:36:48 CET 2013
Repository : ssh://darcs.haskell.org//srv/darcs/testsuite
On branch : ghc-7.6
http://hackage.haskell.org/trac/ghc/changeset/346659064e72a294ad6c24db736f0f7cda8b32a3
>---------------------------------------------------------------
commit 346659064e72a294ad6c24db736f0f7cda8b32a3
Author: Ian Lynagh <igloo at earth.li>
Date: Fri Jan 25 19:29:16 2013 +0000
derefnull(ghci) and divbyzero(ghci) fail on Win32 in 7.4 and 7.6
>---------------------------------------------------------------
tests/rts/all.T | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/tests/rts/all.T b/tests/rts/all.T
index b4db8d3..2752ec0 100644
--- a/tests/rts/all.T
+++ b/tests/rts/all.T
@@ -18,11 +18,13 @@ test('derefnull',
exit_code(139),
# Apparently the output can be different on different
# Linux setups, so just ignore it. As long as we get
- # the right exit code we're OK.
+ # the right exit code we are OK.
if_os('linux', ignore_output),
# SIGBUS on OX X (PPC and x86 only; amd64 gives SEGV)
if_platform('i386-apple-darwin', exit_code(138)),
if_platform('powerpc-apple-darwin', exit_code(138)),
+ # This test fails (139) on both 7.4.1 and 7.6.2 on Win32
+ if_os('mingw32', expect_fail_for(['ghci'])),
if_os('mingw32', exit_code(1))]),
compile_and_run, [''])
test('divbyzero',
@@ -32,8 +34,10 @@ test('divbyzero',
exit_code(136),
# Apparently the output can be different on different
# Linux setups, so just ignore it. As long as we get
- # the right exit code we're OK.
+ # the right exit code we are OK.
if_os('linux', ignore_output),
+ # This test fails (127) on both 7.4.1 and 7.6.2 on Win32
+ if_os('mingw32', expect_fail_for(['ghci'])),
if_os('mingw32', exit_code(1))]),
compile_and_run, [''])
More information about the ghc-commits
mailing list