From 930c308f08fbb30895e87ec65630b2af05ac3b5e Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Mon, 18 May 2026 16:17:50 -0700 Subject: [PATCH] Add `-sRUNTIME_DEBUG` to some tests to try to debug #26882. NFC --- test/test_browser.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/test_browser.py b/test/test_browser.py index 064028f6d28ca..88451046627aa 100644 --- a/test/test_browser.py +++ b/test/test_browser.py @@ -4611,7 +4611,7 @@ def test_emscripten_animate_canvas_element_size(self, args, main_loop): 'modularize': (['-sMODULARIZE'],), }) @parameterized({ - '': ([],), + '': (['-sRUNTIME_DEBUG'],), 'O3': (['-O3'],), }) def test_pthread_hello_thread(self, opts, modularize): @@ -4619,7 +4619,7 @@ def test_pthread_hello_thread(self, opts, modularize): # Tests that a pthreads build of -sMINIMAL_RUNTIME works well in different build modes @parameterized({ - '': ([],), + '': (['-sRUNTIME_DEBUG'],), 'modularize': (['-sMODULARIZE', '-sEXPORT_NAME=MyModule'],), 'O3': (['-O3'],), 'O3_modularize': (['-O3', '-sMODULARIZE', '-sEXPORT_NAME=MyModule'],), @@ -4674,7 +4674,6 @@ def test_pthread_reltime(self): }) @requires_es6_workers def test_mainScriptUrlOrBlob(self, es6, use_blob): - # TODO: enable this with wasm, currently pthreads/atomics have limitations self.set_setting('EXIT_RUNTIME') js_name = 'hello_thread_with_loader.%s' % ('mjs' if es6 else 'js') if es6: