aboutsummaryrefslogtreecommitdiff
path: root/tests/test_browser.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-01-22 17:09:36 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-01-22 17:09:36 -0800
commitee3397080daddc7e07ff212da1f9ed4cb8a7f947 (patch)
treed8e2ab881489e2bf23b637074d86313bda9f8b88 /tests/test_browser.py
parent7dfbd9ac5ec8d096cbc147d7693814d2d81568bc (diff)
fix some sdl typos that error on safe heap in asm mode, and add test coverage; fixes #2044
Diffstat (limited to 'tests/test_browser.py')
-rw-r--r--tests/test_browser.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_browser.py b/tests/test_browser.py
index 9321f529..8c75c861 100644
--- a/tests/test_browser.py
+++ b/tests/test_browser.py
@@ -683,6 +683,9 @@ If manually bisecting:
def test_sdl_canvas(self):
self.btest('sdl_canvas.c', expected='1', args=['-s', 'LEGACY_GL_EMULATION=1'])
+ # some extra coverage
+ self.btest('sdl_canvas.c', expected='1', args=['-s', 'LEGACY_GL_EMULATION=1', '-s', '-O0', 'SAFE_HEAP=1'])
+ self.btest('sdl_canvas.c', expected='1', args=['-s', 'LEGACY_GL_EMULATION=1', '-s', '-O2', 'SAFE_HEAP=1'])
def test_sdl_canvas_proxy(self):
def post():