summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2021-11-26 23:48:02 -0500
committerBen Gamari <ben@smart-cactus.org>2022-03-02 22:49:17 -0500
commitdc8ed73d39a6e2fb52c7b53c6cc927616c8f9234 (patch)
tree6f78f085f815ba8a19f1fc09fd6effde56542231
parent1488f0642e081fbcfc4b224dc6f76fd95df405b2 (diff)
downloadhaskell-dc8ed73d39a6e2fb52c7b53c6cc927616c8f9234.tar.gz
testsuite: Specify expected word-size of machop testswip/aarch64-9.2
These generally expect a particular word size. (cherry picked from commit 44c088631f2d14f25c9cefeee174db4576b4c5cc)
-rw-r--r--testsuite/tests/cmm/should_run/machops/all.T15
1 files changed, 8 insertions, 7 deletions
diff --git a/testsuite/tests/cmm/should_run/machops/all.T b/testsuite/tests/cmm/should_run/machops/all.T
index d705f331dd..a10500f7c8 100644
--- a/testsuite/tests/cmm/should_run/machops/all.T
+++ b/testsuite/tests/cmm/should_run/machops/all.T
@@ -1,11 +1,12 @@
setTestOpts(extra_files(['TestMachOp.hs']))
-def cmm_test(name):
- test(name, normal, multi_compile_and_run,
+def cmm_test(name, ws):
+ test(name,
+ [unless(wordsize(ws), skip), normal],
+ multi_compile_and_run,
['TestMachOp', [(name+'.cmm', '')], ''])
-cmm_test('T20626a')
-cmm_test('T20626b')
-cmm_test('T20638')
-cmm_test('T20634')
-cmm_test('MachOps1')
+cmm_test('T20626a', ws=64)
+cmm_test('T20626b', ws=64)
+cmm_test('T20638', ws=64)
+cmm_test('T20634', ws=64)