diff options
author | Ian Lynagh <ian@well-typed.com> | 2012-10-13 19:16:17 +0100 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2012-10-13 19:16:17 +0100 |
commit | ab466bbe4a2c4872699e54e45b54a1bd9175fddc (patch) | |
tree | 88d347575beb11a738f22c31b3c6d3ba25ebb3a8 /testsuite | |
parent | eca96a28cce52466574f6082c968b5909a053dbd (diff) | |
download | haskell-ab466bbe4a2c4872699e54e45b54a1bd9175fddc.tar.gz |
The asm tests pass on Linux, but not OS X
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/driver/testlib.py | 2 | ||||
-rw-r--r-- | testsuite/tests/codeGen/should_gen_asm/all.T | 9 |
2 files changed, 7 insertions, 4 deletions
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, ['']) |