aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-04-21 11:01:21 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-04-29 13:01:58 -0700
commit47f1437453100dc2eb44cc7fa9222fc01e1175ef (patch)
tree48fbf615d71590f50da482caedef2960a9563e03 /tests
parente3c27642a8431328dc2a823ae1ee96e80a9baae7 (diff)
update test_unaligned
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runner.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index e705dada..cdd8f350 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -1500,7 +1500,13 @@ Succeeded!
'''
# TODO: A version of this with int64s as well
- self.do_run(src, '*12 : 1 : 12\n328157500735811.0,23,416012775903557.0,99\n')
+
+ if 'le32-unknown-nacl' in COMPILER_OPTS:
+ self.do_run(src, '*16 : 0 : 16\n328157500735811.0,23,416012775903557.0,99\n')
+ elif 'i386-pc-linux-gnu' in COMPILER_OPTS:
+ self.do_run(src, '*12 : 1 : 12\n328157500735811.0,23,416012775903557.0,99\n')
+ else:
+ raise Exception('unknown arch')
return # TODO: continue to the next part here