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

On branch  : ghc-7.4

http://hackage.haskell.org/trac/ghc/changeset/45146d46166978be964e9f1f24f5fb7b1954ae4d

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

commit 45146d46166978be964e9f1f24f5fb7b1954ae4d
Author: Simon Marlow <[email protected]>
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, [''])



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to