@@ -7235,42 +7235,6 @@ def test_modularize_instantiation_error(self):
7235
7235
self.assertContained('failed to asynchronously prepare wasm', output)
7236
7236
self.assertContained('got error: RuntimeError: Aborted', output)
7237
7237
7238
- @crossplatform
7239
- @node_pthreads
7240
- @flaky('https://github.com/emscripten-core/emscripten/issues/19683')
7241
- # The flakiness of this test is very high on macOS so just disable it
7242
- # completely.
7243
- @no_mac('https://github.com/emscripten-core/emscripten/issues/19683')
7244
- def test_pthread_print_override_modularize(self):
7245
- self.set_setting('EXPORT_NAME', 'Test')
7246
- self.set_setting('PROXY_TO_PTHREAD')
7247
- self.set_setting('EXIT_RUNTIME')
7248
- self.set_setting('MODULARIZE')
7249
- create_file('main.c', '''
7250
- #include <emscripten/console.h>
7251
-
7252
- int main() {
7253
- emscripten_out("hello, world!");
7254
- return 0;
7255
- }
7256
- ''')
7257
- create_file('main.js', '''
7258
- const Test = require('./test.js');
7259
-
7260
- async function main() {
7261
- await Test({
7262
- // world -> earth
7263
- print: (text) => console.log(text.replace('world', 'earth'))
7264
- });
7265
- }
7266
- main();
7267
- ''')
7268
-
7269
- self.emcc('main.c', output_filename='test.js')
7270
- output = self.run_js('main.js')
7271
- self.assertNotContained('hello, world!', output)
7272
- self.assertContained('hello, earth!', output)
7273
-
7274
7238
def test_define_modularize(self):
7275
7239
self.run_process([EMCC, test_file('hello_world.c'), '-sMODULARIZE', '-sASSERTIONS=0'])
7276
7240
src = 'var module = 0; ' + read_file('a.out.js')
0 commit comments