diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-03-10 17:02:27 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-03-10 17:02:27 -0700 |
commit | 7998d7bc93d638666510fb515b58fd3715ca52e4 (patch) | |
tree | 3415d4b0dec5e3ac7aeb23bcb2ac088538008547 /tests | |
parent | 4d4fe2e9f093b07a4797e1e86eab4da9ecb50211 (diff) |
fix mouse wheel deltas for closure compiler in html5 API, and add some closure testing; #2214
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_browser.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_browser.py b/tests/test_browser.py index d49244e2..d5949709 100644 --- a/tests/test_browser.py +++ b/tests/test_browser.py @@ -1786,7 +1786,9 @@ Module["preRun"].push(function () { self.btest('doublestart.c', args=['--pre-js', 'pre.js', '-o', 'test.html'], expected='1') def test_html5(self): - self.btest(path_from_root('tests', 'test_html5.c'), expected='0') + for opts in [[], ['-O2', '-g1', '--closure', '1']]: + print opts + self.btest(path_from_root('tests', 'test_html5.c'), args=opts, expected='0') def test_codemods(self): for opt_level in [0, 2]: |