@@ -124,16 +124,6 @@ def check():
124
124
125
125
print ('\n [ checking wasm-opt debugInfo read-write... ]\n ' )
126
126
127
- for t in shared .get_tests (shared .options .binaryen_test , ['.fromasm' ]):
128
- if 'debugInfo' not in t :
129
- continue
130
- print ('..' , os .path .basename (t ))
131
- f = t + '.read-written'
132
- support .run_command (shared .WASM_AS + [t , '--source-map=a.map' , '-o' , 'a.wasm' , '-g' ])
133
- support .run_command (shared .WASM_OPT + ['a.wasm' , '--input-source-map=a.map' , '-o' , 'b.wasm' , '--output-source-map=b.map' , '-g' ])
134
- actual = support .run_command (shared .WASM_DIS + ['b.wasm' , '--source-map=b.map' ])
135
- shared .fail_if_not_identical_to_file (actual , f )
136
-
137
127
138
128
def update_wasm_opt_tests ():
139
129
print ('\n [ checking wasm-opt -o notation... ]\n ' )
@@ -203,17 +193,6 @@ def update_wasm_opt_tests():
203
193
actual = actual .replace ('printing before:\n ' , '' )
204
194
open (f , 'w' ).write (actual )
205
195
206
- print ('\n [ checking wasm-opt debugInfo read-write... ]\n ' )
207
- for t in shared .get_tests (shared .options .binaryen_test , ['.fromasm' ]):
208
- if 'debugInfo' not in t :
209
- continue
210
- print ('..' , os .path .basename (t ))
211
- f = t + '.read-written'
212
- support .run_command (shared .WASM_AS + [t , '--source-map=a.map' , '-o' , 'a.wasm' , '-g' ])
213
- support .run_command (shared .WASM_OPT + ['a.wasm' , '--input-source-map=a.map' , '-o' , 'b.wasm' , '--output-source-map=b.map' , '-g' ])
214
- actual = support .run_command (shared .WASM_DIS + ['b.wasm' , '--source-map=b.map' ])
215
- open (f , 'w' ).write (actual )
216
-
217
196
print ('\n [ checking binary format testcases... ]\n ' )
218
197
for wast in shared .get_tests (shared .options .binaryen_test , ['.wast' ]):
219
198
for debug_info in [0 , 1 ]:
0 commit comments