Expect failure for numrun012(ghci) on Windows
authorSimon Marlow <marlowsd@gmail.com>
Mon, 16 Jan 2012 16:17:19 +0000 (16:17 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Tue, 17 Jan 2012 12:36:54 +0000 (12:36 +0000)
testsuite/tests/numeric/should_run/all.T

index 0916af1..af46ec1 100644 (file)
@@ -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, [''])