aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-04-02 07:27:54 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-04-02 07:27:54 -0700
commit1823aaf13bfbbc3cbbe6c8dc9ff153361f0bcf4a (patch)
treeb9033112f5903e741eb4217f673e8bd19f977cb8
parent3c4fc418648c3c33dd419f20d7d7cac3238ff5be (diff)
test fixes
-rwxr-xr-xtests/runner.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index b5de6b59..62d09ee9 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -862,10 +862,11 @@ m_divisor is 1091269979
print 'TODO: make precise the default, and imprecise in -O3. Remove precise setting in this test and cube2hash'
print 'TODO: only include this code when needed'
- 1/0.
+ #1/0.
def test_cube2hash(self):
# A good test of i64 math
+ if Settings.USE_TYPED_ARRAYS != 2: return self.skip('requires ta2 C-style memory aliasing')
Settings.PRECISE_I64_MATH = 1
self.do_run('', 'Usage: hashstring <seed>',
libraries=self.get_library('cube2hash', ['cube2hash.bc'], configure=None),