def test_emscripten_get_now(self):
    self.banned_js_engines = [V8_ENGINE]
    self.set_setting('EXIT_RUNTIME', 1)
    if (self.run_name == 'asm2'):
        self.emcc_args += ['--closure', '1']
    self.do_run(open(path_from_root('tests', 'emscripten_get_now.cpp')).read(), 'Timer resolution is good')
def test_emscripten_get_now(self):
    self.banned_js_engines = [V8_ENGINE]
    self.set_setting('EXIT_RUNTIME', 1)
    if (self.run_name == 'asm2'):
        self.emcc_args += ['--closure', '1']
    self.do_run(open(path_from_root('tests', 'emscripten_get_now.cpp')).read(), 'Timer resolution is good')