diff options
author | Ben Gamari <ben@smart-cactus.org> | 2021-11-26 23:48:02 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2021-11-30 16:58:34 +0000 |
commit | e8be03716ad9d3f7596b60c0c48167dc7c8b3e9d (patch) | |
tree | 698410e292ab095b80bb3f1a453e4c02ceabc2be | |
parent | 086fd583596cf30634658e52c7747606cf6aafe7 (diff) | |
download | haskell-wip/codegen-fixes.tar.gz |
testsuite: Specify expected word-size of machop testswip/codegen-fixes
These generally expect a particular word size.
-rw-r--r-- | testsuite/tests/cmm/should_run/machops/all.T | 15 |
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) |