aboutsummaryrefslogtreecommitdiff
path: root/tests/test_browser.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-04-14 14:09:54 -0700
committerAlon Zakai <alonzakai@gmail.com>2014-04-14 14:09:54 -0700
commitd990bbdd04fab88828ea95d09ce68c92ae2543bc (patch)
tree105a42288641c9db37d1d7238c84443152f45ed4 /tests/test_browser.py
parent512b7bd6689699a16a5afb6d38c786d17ec45c91 (diff)
parent2faa69a865c3d6046d7d5202f2dc747dea3229f1 (diff)
Merge pull request #2285 from juj/sdl2-touch-api-additions
Sdl2 touch api additions
Diffstat (limited to 'tests/test_browser.py')
-rw-r--r--tests/test_browser.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_browser.py b/tests/test_browser.py
index cf893eb5..c06f11ac 100644
--- a/tests/test_browser.py
+++ b/tests/test_browser.py
@@ -1793,6 +1793,11 @@ Module["preRun"].push(function () {
print opts
self.btest(path_from_root('tests', 'test_html5.c'), args=opts, expected='0')
+ def test_sdl_touch(self):
+ for opts in [[], ['-O2', '-g1', '--closure', '1']]:
+ print opts
+ self.btest(path_from_root('tests', 'sdl_touch.c'), args=opts + ['-DAUTOMATE_SUCCESS=1'], expected='0')
+
def test_html5_mouse(self):
for opts in [[], ['-O2', '-g1', '--closure', '1']]:
print opts