aboutsummaryrefslogtreecommitdiff
path: root/tests/test_interactive.py
diff options
context:
space:
mode:
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'))