(self)
| 2287 | |
| 2288 | @no_wasm2js('massive switches can break js engines') |
| 2289 | def test_bigswitch(self): |
| 2290 | if not self.is_optimizing(): |
| 2291 | self.skipTest('nodejs takes ~4GB to compile this if the wasm is not optimized, which OOMs') |
| 2292 | self.set_setting('USE_SDL') |
| 2293 | self.do_runf('core/test_bigswitch.c', '''34962: GL_ARRAY_BUFFER (0x8892) |
| 2294 | 26214: what? |
| 2295 | 35040: GL_STREAM_DRAW (0x88E0) |
| 2296 | 3060: what? |
| 2297 | ''', args=['34962', '26214', '35040', str(0xbf4)]) |
| 2298 | |
| 2299 | @no_wasm2js('massive switches can break js engines') |
| 2300 | @is_slow_test |
nothing calls this directly
no test coverage detected