diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-08-30 10:13:38 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-08-30 11:32:52 -0700 |
commit | 939a98cbe90e556d586d82d845a7b8e96aceda24 (patch) | |
tree | bbd4297b32a09678f860eaa0565273027223afdb /tests | |
parent | a9029e02d342122375629a9d2153d43c626d41dd (diff) |
fix test_emscripten_get_now
Diffstat (limited to 'tests')
-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 bd6d9a03..16bf9a00 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -3735,6 +3735,8 @@ def process(filename): self.do_run(src, 'hello world!\n*100*\n*fivesix*\nmann\n', post_build=check) def test_emscripten_get_now(self): + if Settings.USE_TYPED_ARRAYS != 2: return self.skip('requires ta2') + if self.run_name == 'o2': self.emcc_args += ['--closure', '1'] # Use closure here for some additional coverage self.do_run(open(path_from_root('tests', 'emscripten_get_now.cpp')).read(), 'Timer resolution is good.') |