Skip to content

Commit 930c308

Browse files
committed
Add -sRUNTIME_DEBUG to some tests to try to debug #26882. NFC
1 parent 926047d commit 930c308

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

test/test_browser.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4611,15 +4611,15 @@ def test_emscripten_animate_canvas_element_size(self, args, main_loop):
46114611
'modularize': (['-sMODULARIZE'],),
46124612
})
46134613
@parameterized({
4614-
'': ([],),
4614+
'': (['-sRUNTIME_DEBUG'],),
46154615
'O3': (['-O3'],),
46164616
})
46174617
def test_pthread_hello_thread(self, opts, modularize):
46184618
self.btest_exit('pthread/hello_thread.c', cflags=['-pthread'] + modularize + opts)
46194619

46204620
# Tests that a pthreads build of -sMINIMAL_RUNTIME works well in different build modes
46214621
@parameterized({
4622-
'': ([],),
4622+
'': (['-sRUNTIME_DEBUG'],),
46234623
'modularize': (['-sMODULARIZE', '-sEXPORT_NAME=MyModule'],),
46244624
'O3': (['-O3'],),
46254625
'O3_modularize': (['-O3', '-sMODULARIZE', '-sEXPORT_NAME=MyModule'],),
@@ -4674,7 +4674,6 @@ def test_pthread_reltime(self):
46744674
})
46754675
@requires_es6_workers
46764676
def test_mainScriptUrlOrBlob(self, es6, use_blob):
4677-
# TODO: enable this with wasm, currently pthreads/atomics have limitations
46784677
self.set_setting('EXIT_RUNTIME')
46794678
js_name = 'hello_thread_with_loader.%s' % ('mjs' if es6 else 'js')
46804679
if es6:

0 commit comments

Comments
 (0)