summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-10-13 19:16:17 +0100
committerIan Lynagh <ian@well-typed.com>2012-10-13 19:16:17 +0100
commitab466bbe4a2c4872699e54e45b54a1bd9175fddc (patch)
tree88d347575beb11a738f22c31b3c6d3ba25ebb3a8 /testsuite
parenteca96a28cce52466574f6082c968b5909a053dbd (diff)
downloadhaskell-ab466bbe4a2c4872699e54e45b54a1bd9175fddc.tar.gz
The asm tests pass on Linux, but not OS X
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/driver/testlib.py2
-rw-r--r--testsuite/tests/codeGen/should_gen_asm/all.T9
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, [''])