aboutsummaryrefslogtreecommitdiff
path: root/tests/test_core.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-12-23 15:43:01 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-12-23 15:43:01 -0800
commitb86abc2ecfea9ccbb93cad2fe4e9f8574beb7ed8 (patch)
treee966f2fd2bc38d15c18fa880098ba5c8b91f07eb /tests/test_core.py
parent9b3e1b8d8e948709a9df1a23ea8790c93eb5b82e (diff)
fix bug where close-together tempDoublePtr operations could cross each other
Diffstat (limited to 'tests/test_core.py')
-rw-r--r--tests/test_core.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_core.py b/tests/test_core.py
index 2430aa1c..5a19ef0c 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -771,6 +771,12 @@ 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_closebitcasts(self):
+ if Settings.USE_TYPED_ARRAYS != 2: return self.skip('requires ta2')
+ test_path = path_from_root('tests', 'core', 'closebitcasts')
+ src, output = (test_path + s for s in ('.c', '.txt'))
+ self.do_run_from_file(src, output)
+
def test_fast_math(self):
if self.emcc_args is None: return self.skip('requires emcc')
Building.COMPILER_TEST_OPTS += ['-ffast-math']