Skip to content

Commit 91fc409

Browse files
author
Ian Lynagh
committed
Follow testsuite changes
1 parent 5037619 commit 91fc409

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

tests/IO/all.T

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# -*- coding: utf-8 -*-
22

3-
def expect_fail_if_windows(opts):
3+
def expect_fail_if_windows(name, opts):
44
f = if_os('mingw32', expect_fail);
5-
return f(opts);
5+
return f(normal, opts);
66

77
test('IOError001', compose(omit_ways(['ghci']), set_stdin('IOError001.hs')),
88
compile_and_run, [''])

tests/Numeric/all.T

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ test('num006', normal, compile_and_run, [''])
77
test('num007', normal, compile_and_run, [''])
88
test('num008', normal, compile_and_run, [''])
99
test('num009', [ skip_if_fast
10-
, if_platform('i386-apple-darwin', expect_broken(2370))
10+
, when(platform('i386-apple-darwin'), expect_broken(2370))
1111
, if_os('mingw32', omit_ways(['ghci'])) ],
1212
# We get different results at 1e20 on x86/Windows, so there is
1313
# a special output file for that. I (SDM) don't think these are
@@ -16,6 +16,6 @@ test('num009', [ skip_if_fast
1616
# I'm skipping that way altogether.
1717
compile_and_run, [''])
1818
test('num010',
19-
if_platform('i386-apple-darwin', expect_broken_for(7043, 'ghci')),
19+
when(platform('i386-apple-darwin'), expect_broken_for(7043, 'ghci')),
2020
compile_and_run,
2121
[''])

tests/all.T

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ test('assert', exit_code(1), compile_and_run, ['-fno-ignore-asserts'])
99
test('CPUTime001', normal, compile_and_run, [''])
1010
test('readLitChar', normal, compile_and_run, [''])
1111
test('unicode001',
12-
if_platform('i386-unknown-openbsd', expect_fail),
12+
when(platform('i386-unknown-openbsd'), expect_fail),
1313
compile_and_run,
1414
[''])
1515
test('unicode002',
16-
if_platform('i386-unknown-openbsd', expect_fail),
16+
when(platform('i386-unknown-openbsd'), expect_fail),
1717
compile_and_run,
1818
[''])
1919
test('data-fixed-show-read', normal, compile_and_run, [''])

0 commit comments

Comments
 (0)