diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/glut_touchevents.c | 2 | ||||
-rw-r--r-- | tests/test_core.py | 3 | ||||
-rw-r--r-- | tests/test_other.py | 4 |
3 files changed, 4 insertions, 5 deletions
diff --git a/tests/glut_touchevents.c b/tests/glut_touchevents.c index 1f097895..2a0054bb 100644 --- a/tests/glut_touchevents.c +++ b/tests/glut_touchevents.c @@ -44,7 +44,7 @@ int main(int argc, char *argv[]) event.target = Module['canvas']; event.button = 0; event.touches = touches; - event.initUIEvent(eventType, true, true); + event.initUIEvent(eventType, true, true, window, 1); Module['canvas'].dispatchEvent(event); } )); diff --git a/tests/test_core.py b/tests/test_core.py index 29a04e1e..a477c05e 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -3935,8 +3935,7 @@ def process(filename): self.do_run(src, 'Hello world!') def test_bigswitch(self): - if Settings.RELOOP: return self.skip('TODO: switch in relooper, issue #781') - if Settings.ASM_JS: return self.skip('TODO: switch too large for asm') + if self.run_name != 'default': return self.skip('TODO: issue #781') src = open(path_from_root('tests', 'bigswitch.cpp')).read() self.do_run(src, '''34962: GL_ARRAY_BUFFER (0x8892) diff --git a/tests/test_other.py b/tests/test_other.py index 3b3887d6..d6e67e59 100644 --- a/tests/test_other.py +++ b/tests/test_other.py @@ -802,8 +802,8 @@ f.close() for test_opts, expected_ranges in [ ([], { - 100: (190, 250), - 250: (200, 330), + 100: (190, 275), + 250: (200, 500), 500: (250, 500), 1000: (230, 1000), 2000: (380, 2000), |