@@ -9255,7 +9255,7 @@ def test_unoptimized_code_size(self):
9255
9255
self.build('hello_world.c', cflags=['-O0', '--output-eol=linux', '-sASSERTIONS=0'], output_basename='no_asserts')
9256
9256
self.build('hello_world.c', cflags=['-O0', '--output-eol=linux', '-sSTRICT'], output_basename='strict')
9257
9257
9258
- self.checkOutputSizes (['hello_world.js', 'hello_world.wasm', 'no_asserts.js', 'no_asserts.wasm', 'strict.js', 'strict.wasm'])
9258
+ self.check_output_sizes (['hello_world.js', 'hello_world.wasm', 'no_asserts.js', 'no_asserts.wasm', 'strict.js', 'strict.wasm'])
9259
9259
9260
9260
def run_codesize_test(self, filename, cflags, check_funcs=True, check_full_js=False):
9261
9261
# in -Os, -Oz, we remove imports wasm doesn't need
@@ -9328,7 +9328,7 @@ def strip_numeric_suffixes(funcname):
9328
9328
funcs.sort()
9329
9329
info['funcs'] = [strip_numeric_suffixes(f) for f in funcs]
9330
9330
9331
- self.checkOutputSizes (outputs, info)
9331
+ self.check_output_sizes (outputs, info)
9332
9332
9333
9333
@parameterized({
9334
9334
'O0': ([], True),
@@ -11889,7 +11889,7 @@ def test_minimal_runtime_code_size(self, test_name, wasm2js, compare_js_output=F
11889
11889
self.run_process(terser + ['-b', 'beautify=true', 'a.js', '-o', 'pretty.js'], env=shared.env_with_node_in_path())
11890
11890
self.assertFileContents(js_out, read_file('pretty.js'))
11891
11891
11892
- self.checkOutputSizes (outputs)
11892
+ self.check_output_sizes (outputs)
11893
11893
11894
11894
# Tests the library_c_preprocessor.js functionality.
11895
11895
@crossplatform
@@ -12333,7 +12333,7 @@ def test(args):
12333
12333
# Changing this option to [] should decrease code size.
12334
12334
self.assertLess(changed, normal)
12335
12335
# Check an absolute code size as well.
12336
- self.checkOutputSizes (['a.out.js'])
12336
+ self.check_output_sizes (['a.out.js'])
12337
12337
12338
12338
def test_INCOMING_MODULE_JS_API_missing(self):
12339
12339
create_file('pre.js', 'Module.onRuntimeInitialized = () => out("initialized");')
0 commit comments