diff --git a/check.py b/check.py index 5c0e19ff3d9..0b5ed5ce7d6 100755 --- a/check.py +++ b/check.py @@ -242,9 +242,9 @@ def check_expected(actual, expected): for module, asserts in support.split_wast(wast): print(' testing split module', split_num) split_num += 1 - support.write_wast('split.wast', module, asserts) + support.write_wast('split.wast', module) run_opt_test('split.wast') # also that our optimizer doesn't break on it - result_wast_file = shared.binary_format_check('split.wast', verify_final_result=False, original_wast=wast) + result_wast_file = shared.binary_format_check('split.wast', verify_final_result=False) with open(result_wast_file) as f: result_wast = f.read() # add the asserts, and verify that the test still passes diff --git a/scripts/test/shared.py b/scripts/test/shared.py index ef3cea261dc..3a9b5a26c20 100644 --- a/scripts/test/shared.py +++ b/scripts/test/shared.py @@ -457,7 +457,7 @@ def get_tests(test_dir, extensions=[], recursive=False): # check utilities def binary_format_check(wast, verify_final_result=True, wasm_as_args=['-g'], - binary_suffix='.fromBinary', original_wast=None): + binary_suffix='.fromBinary'): # checks we can convert the wast to binary and back print(' (binary format check)')