The asm tests pass on Linux, but not OS X
authorIan Lynagh <ian@well-typed.com>
Sat, 13 Oct 2012 18:16:17 +0000 (19:16 +0100)
committerIan Lynagh <ian@well-typed.com>
Sat, 13 Oct 2012 18:16:17 +0000 (19:16 +0100)
testsuite/driver/testlib.py
testsuite/tests/codeGen/should_gen_asm/all.T

index c9dcc17..70ed040 100644 (file)
@@ -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:
index c262255..a24ae31 100644 (file)
@@ -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, [''])