[commit: testsuite] master: Expect failure for numrun012(ghci) on Windows (03abc7c)

Simon Marlow marlowsd at gmail.com
Tue Jan 17 13:38:10 CET 2012


Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/03abc7c19b6fd339d3609ef4671888e7da755d04

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

commit 03abc7c19b6fd339d3609ef4671888e7da755d04
Author: Simon Marlow <marlowsd at gmail.com>
Date:   Mon Jan 16 16:17:19 2012 +0000

    Expect failure for numrun012(ghci) on Windows

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

 tests/numeric/should_run/all.T |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/tests/numeric/should_run/all.T b/tests/numeric/should_run/all.T
index 0916af1..af46ec1 100644
--- a/tests/numeric/should_run/all.T
+++ b/tests/numeric/should_run/all.T
@@ -35,7 +35,12 @@ test('arith015', normal, compile_and_run, [''])
 test('numrun009', normal, compile_and_run, [''])
 test('numrun010', normal, compile_and_run, [''])
 test('numrun011', normal, compile_and_run, [''])
-test('numrun012', normal, compile_and_run, [''])
+test('numrun012',
+        if_os('mingw32',expect_fail_for('ghci')),
+        # on Windows, GHCi says that "logBase 2 (2^31)" is "31.0", but
+        # other platforms (and compiled on Windows) reports 31.000000000000004
+        # I have no idea where the discrepancy comes from.  --SDM
+        compile_and_run, [''])
 test('numrun013', normal, compile_and_run, [''])
 test('numrun014', normal, compile_and_run, [''])
 test('arith016', compose(normal,only_compiler_types(['ghc'])), compile_and_run, [''])





More information about the Cvs-ghc mailing list