aboutsummaryrefslogtreecommitdiff
path: root/tests/test_interactive.py
diff options
context:
space:
mode:
authorJukka Jylänki <jujjyl@gmail.com>2014-03-06 20:46:56 +0200
committerJukka Jylänki <jujjyl@gmail.com>2014-03-06 20:46:56 +0200
commit2a7b7d2b5c71980516706dc7ae99b64b6d789fb5 (patch)
treef64413642611fb8154c17ad536a792c9c85b4ebf /tests/test_interactive.py
parent04e5ac40b052e6b3d33b50cc82bd0a09a0632b6e (diff)
Added a (currently failing) interactive test for SDL_WM_ToggleFullScreen.
Diffstat (limited to 'tests/test_interactive.py')
-rw-r--r--tests/test_interactive.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_interactive.py b/tests/test_interactive.py
index bbd047cd..715e7d6b 100644
--- a/tests/test_interactive.py
+++ b/tests/test_interactive.py
@@ -22,6 +22,9 @@ class interactive(BrowserCore):
def test_html5_fullscreen(self):
self.btest(path_from_root('tests', 'test_html5_fullscreen.c'), expected='0')
+ def test_sdl_wm_togglefullscreen(self):
+ self.btest('sdl_wm_togglefullscreen.c', expected='1', args=['-s', 'NO_EXIT_RUNTIME=1'])
+
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'))