Skip to content

Commit a83bd05

Browse files
committed
Also test LD_LIBRARY_PATH with wasm64
1 parent 9c563ca commit a83bd05

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

test/test_other.py

+11-4
Original file line numberDiff line numberDiff line change
@@ -7555,12 +7555,19 @@ def test_RUNTIME_LINKED_LIBS(self):
75557555
self.assertBinaryEqual('main.wasm', 'main2.wasm')
75567556

75577557
@parameterized({
7558-
'': ([],),
7559-
'pthread': (['-g', '-pthread', '-Wno-experimental', '-sPROXY_TO_PTHREAD', '-sEXIT_RUNTIME'],),
7558+
'': (False, False),
7559+
'pthread': (True, False),
7560+
'wasm64': (False, True),
7561+
'pthread-wasm64': (True, True),
75607562
})
7561-
def test_ld_library_path(self, args):
7562-
if args:
7563+
def test_ld_library_path(self, pthread, wasm64):
7564+
args = []
7565+
if pthread:
7566+
args += ['-g', '-pthread', '-Wno-experimental', '-sPROXY_TO_PTHREAD', '-sEXIT_RUNTIME']
75637567
self.setup_node_pthreads()
7568+
if wasm64:
7569+
self.require_wasm64()
7570+
args += ['-sMEMORY64']
75647571
create_file('hello1.c', r'''
75657572
#include <stdio.h>
75667573

0 commit comments

Comments
 (0)