diff options
author | Simon Marlow <marlowsd@gmail.com> | 2012-01-16 16:17:19 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2012-01-17 12:36:54 +0000 |
commit | 6e5aa9e48b11b63016952eff6b72543e4079ab77 (patch) | |
tree | f89668062db25d433f0e9a0702fca13b1be9ab36 /testsuite/tests/numeric | |
parent | 58759ba3c3f3f511eb7860aa37f0e98b3ae5352c (diff) | |
download | haskell-6e5aa9e48b11b63016952eff6b72543e4079ab77.tar.gz |
Expect failure for numrun012(ghci) on Windows
Diffstat (limited to 'testsuite/tests/numeric')
-rw-r--r-- | testsuite/tests/numeric/should_run/all.T | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/testsuite/tests/numeric/should_run/all.T b/testsuite/tests/numeric/should_run/all.T index 0916af1d7d..af46ec12e0 100644 --- a/testsuite/tests/numeric/should_run/all.T +++ b/testsuite/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, ['']) |