aboutsummaryrefslogtreecommitdiff
path: root/tests/test_browser.py
diff options
context:
space:
mode:
authorJukka Jylänki <jujjyl@gmail.com>2014-03-14 11:26:19 +0200
committerJukka Jylänki <jujjyl@gmail.com>2014-03-14 11:26:19 +0200
commita564e870359a576ad42531bb39a279db12bd5b2b (patch)
tree45625d0e9e6727dbe759101a45258e0bf59c6f10 /tests/test_browser.py
parentfb0b19e4c5dbf53f61ddfd02ce480ac97aee20d8 (diff)
Add an automated version of the html5 mouse test in browser test suite.
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 d5949709..f0343669 100644
--- a/tests/test_browser.py
+++ b/tests/test_browser.py
@@ -1790,6 +1790,11 @@ Module["preRun"].push(function () {
print opts
self.btest(path_from_root('tests', 'test_html5.c'), args=opts, expected='0')
+ def test_html5_mouse(self):
+ for opts in [[], ['-O2', '-g1', '--closure', '1']]:
+ print opts
+ self.btest(path_from_root('tests', 'test_html5_mouse.c'), args=opts + ['-DAUTOMATE_SUCCESS=1'], expected='0')
+
def test_codemods(self):
for opt_level in [0, 2]:
print 'opt level', opt_level