Skip to content

Commit b06dc72

Browse files
authored
Temporarily disable test_fetch_polyfill_shared_lib under memory64 (#22240)
See llvm/llvm-project#98778 This issue only started showing up after the recent llvm change where shared libraries are actually processed by the linker: llvm/llvm-project#75242
1 parent 2ea813d commit b06dc72

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/test_browser.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3360,6 +3360,7 @@ def test_webidl(self, args):
33603360
self.assertExists('glue.js')
33613361
self.btest('webidl/test.cpp', '1', args=['--post-js', 'glue.js', '-I.', '-DBROWSER'] + args)
33623362

3363+
@no_wasm64('https://github.com/llvm/llvm-project/issues/98778')
33633364
def test_dynamic_link(self):
33643365
create_file('main.c', r'''
33653366
#include <stdio.h>
@@ -3465,6 +3466,7 @@ def do_run(src, expected_output, emcc_args):
34653466
self._test_dylink_dso_needed(do_run)
34663467

34673468
@requires_graphics_hardware
3469+
@no_wasm64('https://github.com/llvm/llvm-project/issues/98778')
34683470
def test_dynamic_link_glemu(self):
34693471
create_file('main.c', r'''
34703472
#include <stdio.h>
@@ -5374,9 +5376,9 @@ def test_webpack(self, es6):
53745376
shutil.copyfile('webpack/src/hello.wasm', 'webpack/dist/hello.wasm')
53755377
self.run_browser('webpack/dist/index.html', '/report_result?exit:0')
53765378

5379+
@no_wasm64('https://github.com/llvm/llvm-project/issues/98778')
53775380
def test_fetch_polyfill_shared_lib(self):
53785381
create_file('library.c', r'''
5379-
#include <stdio.h>
53805382
int library_func() {
53815383
return 42;
53825384
}
@@ -5392,7 +5394,7 @@ def test_fetch_polyfill_shared_lib(self):
53925394
}
53935395
''')
53945396

5395-
self.run_process([EMCC, 'library.c', '-sSIDE_MODULE', '-O2', '-o', 'library.so'])
5397+
self.emcc('library.c', ['-sSIDE_MODULE', '-O2', '-o', 'library.so'])
53965398

53975399
def test(args, expect_fail):
53985400
self.compile_btest('main.c', ['-fPIC', 'library.so', '-sMAIN_MODULE=2', '-sEXIT_RUNTIME', '-o', 'a.out.html'] + args)

0 commit comments

Comments
 (0)