From 8d34b5c785c56d68765e70e74e73be45be419df8 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Mon, 11 Feb 2013 15:07:12 +0000 Subject: Convert more helper functions --- testsuite/tests/module/all.T | 2 +- testsuite/tests/module/base01/all.T | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuite/tests/module') diff --git a/testsuite/tests/module/all.T b/testsuite/tests/module/all.T index b8a5355a97..8eaa1d5217 100644 --- a/testsuite/tests/module/all.T +++ b/testsuite/tests/module/all.T @@ -251,7 +251,7 @@ test('mod150', normal, compile_fail, ['']) test('mod151', normal, compile_fail, ['']) test('mod152', normal, compile_fail, ['']) test('mod153', normal, compile_fail, ['']) -test('mod154', if_compiler_type('hugs', expect_fail), compile, ['']) +test('mod154', when(compiler_type('hugs'), expect_fail), compile, ['']) test('mod155', normal, compile_fail, ['']) test('mod156', normal, compile, ['']) test('mod157', diff --git a/testsuite/tests/module/base01/all.T b/testsuite/tests/module/base01/all.T index d0dbb2960d..6fa3e5c377 100644 --- a/testsuite/tests/module/base01/all.T +++ b/testsuite/tests/module/base01/all.T @@ -1,7 +1,7 @@ setTestOpts(only_compiler_types(['ghc'])) test('base01', - [if_compiler_lt('ghc', '7.1', expect_fail), + [when(compiler_lt('ghc', '7.1'), expect_fail), normalise_slashes, clean_cmd('$MAKE -s clean')], run_command, -- cgit v1.2.1