@@ -3998,31 +3998,6 @@ def test_atomicrmw_i64(self):
3998
3998
def test_sigalrm (self ):
3999
3999
self .btest (path_from_root ('tests' , 'sigalrm.cpp' ), expected = '0' , args = ['-O3' ])
4000
4000
4001
- @no_wasm_backend ('mem init file' )
4002
- def test_meminit_pairs (self ):
4003
- d = 'const char *data[] = {\n "'
4004
- d += '",\n "' .join ('' .join ('\\ x{:02x}\\ x{:02x}' .format (i , j )
4005
- for j in range (256 )) for i in range (256 ))
4006
- with open (path_from_root ('tests' , 'meminit_pairs.c' )) as f :
4007
- d += '"\n };\n ' + f .read ()
4008
- args = ["-O2" , "--memory-init-file" , "0" , "-s" , "MEM_INIT_METHOD=2" , "-s" , "ASSERTIONS=1" , '-s' , 'WASM=0' ]
4009
- self .btest (d , expected = '0' , args = args + ["--closure" , "0" ])
4010
- self .btest (d , expected = '0' , args = args + ["--closure" , "0" , "-g" ])
4011
- self .btest (d , expected = '0' , args = args + ["--closure" , "1" ])
4012
-
4013
- @no_wasm_backend ('mem init file' )
4014
- def test_meminit_big (self ):
4015
- d = 'const char *data[] = {\n "'
4016
- d += '",\n "' .join (['' .join ('\\ x{:02x}\\ x{:02x}' .format (i , j )
4017
- for j in range (256 )) for i in range (256 )] * 256 )
4018
- with open (path_from_root ('tests' , 'meminit_pairs.c' )) as f :
4019
- d += '"\n };\n ' + f .read ()
4020
- assert len (d ) > (1 << 27 ) # more than 32M memory initializer
4021
- args = ["-O2" , "--memory-init-file" , "0" , "-s" , "MEM_INIT_METHOD=2" , "-s" , "ASSERTIONS=1" , '-s' , 'WASM=0' ]
4022
- self .btest (d , expected = '0' , args = args + ["--closure" , "0" ])
4023
- self .btest (d , expected = '0' , args = args + ["--closure" , "0" , "-g" ])
4024
- self .btest (d , expected = '0' , args = args + ["--closure" , "1" ])
4025
-
4026
4001
def test_canvas_style_proxy (self ):
4027
4002
self .btest ('canvas_style_proxy.c' , expected = '1' , args = ['--proxy-to-worker' , '--shell-file' , path_from_root ('tests/canvas_style_proxy_shell.html' ), '--pre-js' , path_from_root ('tests/canvas_style_proxy_pre.js' )])
4028
4003
0 commit comments