diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-01-16 13:17:37 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-01-16 13:17:37 -0800 |
commit | 41675a7501a7d6b07f1c4a8045209ec96e9507bd (patch) | |
tree | e7131dff13e6d3f42d0897670b02597127cbaffc /tests/test_core.py | |
parent | 0d1f0bde195e0f58f017b2dd2ab694036843d64a (diff) |
strengthen test_alloca to check alignment
Diffstat (limited to 'tests/test_core.py')
-rw-r--r-- | tests/test_core.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_core.py b/tests/test_core.py index ce778209..59f2f9e9 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -1606,6 +1606,8 @@ class T(RunnerCore): # Short name, to make it more fun to use manually on the co self.do_run_from_file(src, output) def test_alloca(self): + if Settings.USE_TYPED_ARRAYS != 2: return self.skip('non-ta2 may have unaligned allocas') + test_path = path_from_root('tests', 'core', 'test_alloca') src, output = (test_path + s for s in ('.in', '.out')) |