diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-10-13 10:06:33 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-10-13 10:06:33 -0700 |
commit | 45ba35aa01f1650ed28479976262236bbf204ef1 (patch) | |
tree | a45ef1240a00776b9fd0b0b9b1a89b877848b474 /tests/runner.py | |
parent | 3a156a34e83fa301b8abbac6effdb5bd21d9be11 (diff) |
add parameter to emscripten_set_main_loop to optionally simulate an infinite loop by throwing an exception (like glutMainLoop)
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-x | tests/runner.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py index 1c277104..0c677b58 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -8664,6 +8664,9 @@ elif 'browser' in str(sys.argv): def test_emscripten_api(self): self.btest('emscripten_api_browser.cpp', '1') + def test_emscripten_api_infloop(self): + self.btest('emscripten_api_browser_infloop.cpp', '7') + def test_emscripten_fs_api(self): shutil.copyfile(path_from_root('tests', 'screenshot.png'), os.path.join(self.get_dir(), 'screenshot.png')) # preloaded *after* run self.btest('emscripten_fs_api_browser.cpp', '1') |