Repository : ssh://darcs.haskell.org//srv/darcs/testsuite On branch : master
http://hackage.haskell.org/trac/ghc/changeset/89e571e5d2cd08c1df050b115fa609b4928a14cb >--------------------------------------------------------------- commit 89e571e5d2cd08c1df050b115fa609b4928a14cb Author: Ian Lynagh <[email protected]> Date: Sat Oct 13 19:16:17 2012 +0100 The asm tests pass on Linux, but not OS X >--------------------------------------------------------------- driver/testlib.py | 2 +- tests/codeGen/should_gen_asm/all.T | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/driver/testlib.py b/driver/testlib.py index c9dcc17..70ed040 100644 --- a/driver/testlib.py +++ b/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/tests/codeGen/should_gen_asm/all.T b/tests/codeGen/should_gen_asm/all.T index c262255..a24ae31 100644 --- a/tests/codeGen/should_gen_asm/all.T +++ b/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, ['']) _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
