Skip to content

Commit 8db3dee

Browse files
authored
[test] Remove unused minify_check helper. (#8128)
The last usage of this was removed in #6160. I'm assuming this was intentional and we didn't loose any coverage?
1 parent 963b587 commit 8db3dee

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

scripts/test/shared.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -551,17 +551,6 @@ def binary_format_check(wast, verify_final_result=True, wasm_as_args=['-g'],
551551
return disassembled_file
552552

553553

554-
def minify_check(wast, verify_final_result=True):
555-
# checks we can parse minified output
556-
557-
print(' (minify check)')
558-
cmd = WASM_OPT + [wast, '--print-minified', '-all']
559-
print(' ', ' '.join(cmd))
560-
subprocess.check_call(cmd, stdout=open('a.wast', 'w'), stderr=subprocess.PIPE)
561-
subprocess.check_call(WASM_OPT + ['a.wast', '-all'],
562-
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
563-
564-
565554
# run a check with BINARYEN_PASS_DEBUG set, to do full validation
566555
def with_pass_debug(check):
567556
old_pass_debug = os.environ.get('BINARYEN_PASS_DEBUG')

0 commit comments

Comments
 (0)