diff options
author | Jukka Jylänki <jujjyl@gmail.com> | 2014-03-14 11:26:19 +0200 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2014-03-14 11:26:19 +0200 |
commit | a564e870359a576ad42531bb39a279db12bd5b2b (patch) | |
tree | 45625d0e9e6727dbe759101a45258e0bf59c6f10 /tests/test_browser.py | |
parent | fb0b19e4c5dbf53f61ddfd02ce480ac97aee20d8 (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.py | 5 |
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 |