diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-08-12 15:09:05 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-08-12 15:09:05 -0700 |
commit | 2b2950a658133f80b1ca4d14279b7adfd7aaa42b (patch) | |
tree | fbc60ceb878486eae5fe2f39283a04f1a7aa6b7e | |
parent | cff8fee8e0c9e89795d459293195bcdec7f7271b (diff) |
temporarily remove test_sdl_pumpevents
-rwxr-xr-x | tests/runner.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/runner.py b/tests/runner.py index 8d2cbcb4..9a8670b6 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -13471,19 +13471,6 @@ Press any key to continue.''' Popen([PYTHON, EMCC, os.path.join(self.get_dir(), 'sdl_mouse.c'), '-O2', '--minify', '0', '-o', 'sdl_mouse.js', '--pre-js', 'pre.js']).communicate() self.run_browser('page.html', '', '/report_result?600') - def test_sdl_pumpevents(self): - # key events should be detected using SDL_PumpEvents - open(os.path.join(self.get_dir(), 'pre.js'), 'w').write(''' - function keydown(c) { - var event = document.createEvent("KeyboardEvent"); - event.initKeyEvent("keydown", true, true, window, - 0, 0, 0, 0, - c, c); - document.dispatchEvent(event); - } - ''') - self.btest('sdl_pumpevents.c', expected='3', args=['--pre-js', 'pre.js']) - def test_sdl_audio(self): shutil.copyfile(path_from_root('tests', 'sounds', 'alarmvictory_1.ogg'), os.path.join(self.get_dir(), 'sound.ogg')) shutil.copyfile(path_from_root('tests', 'sounds', 'alarmcreatemiltaryfoot_1.wav'), os.path.join(self.get_dir(), 'sound2.wav')) |