From ab466bbe4a2c4872699e54e45b54a1bd9175fddc Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sat, 13 Oct 2012 19:16:17 +0100 Subject: The asm tests pass on Linux, but not OS X --- testsuite/driver/testlib.py | 2 +- testsuite/tests/codeGen/should_gen_asm/all.T | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'testsuite') diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py index c9dcc1759c..70ed040683 100644 --- a/testsuite/driver/testlib.py +++ b/testsuite/driver/testlib.py @@ -306,7 +306,7 @@ def if_platform( plat, f ): else: return normal -def if_not_platform( plat, f ): +def unless_platform( plat, f ): if config.platform != plat: return f else: diff --git a/testsuite/tests/codeGen/should_gen_asm/all.T b/testsuite/tests/codeGen/should_gen_asm/all.T index c262255342..a24ae311b9 100644 --- a/testsuite/tests/codeGen/should_gen_asm/all.T +++ b/testsuite/tests/codeGen/should_gen_asm/all.T @@ -1,3 +1,6 @@ -test('memcpy', unless_arch('x86_64',skip), compile_cmp_asm, ['']) -test('memcpy-unroll', unless_arch('x86_64',skip), compile_cmp_asm, ['']) -test('memcpy-unroll-conprop', unless_arch('x86_64',skip), compile_cmp_asm, ['']) +test('memcpy', + unless_platform('x86_64-unknown-linux',skip), compile_cmp_asm, ['']) +test('memcpy-unroll', + unless_platform('x86_64-unknown-linux',skip), compile_cmp_asm, ['']) +test('memcpy-unroll-conprop', + unless_platform('x86_64-unknown-linux',skip), compile_cmp_asm, ['']) -- cgit v1.2.1