diff options
author | Thomas Lively <tlively@google.com> | 2024-03-07 09:30:39 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-07 09:30:39 -0800 |
commit | 920cbc32603fdb8eff8f50283a1788812863f0d3 (patch) | |
tree | 6eb970799ef224eddfe4cf721e6ddad282e26915 /scripts/test | |
parent | adca3a1366f69b3539839b5e518ba263216a5246 (diff) | |
download | binaryen-920cbc32603fdb8eff8f50283a1788812863f0d3.tar.gz binaryen-920cbc32603fdb8eff8f50283a1788812863f0d3.tar.bz2 binaryen-920cbc32603fdb8eff8f50283a1788812863f0d3.zip |
Do not write assertions to split.wast for spec tests (#6383)
As part of our running of spec tests, we split out each module in a test script
into a separate text file for processing with wasm-opt. We previously included
the test assertions corresponding to the module into that text file, where they
were ignored by the legacy text parser. The new parser errors out due to the
extra tokens after the module, though, so to avoid problems once we switch to
the new parser, stop including the assertions in those text files.
Also remove a nearby unused argument as a drive-by cleanup.
Diffstat (limited to 'scripts/test')
-rw-r--r-- | scripts/test/shared.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/test/shared.py b/scripts/test/shared.py index ef3cea261..3a9b5a26c 100644 --- a/scripts/test/shared.py +++ b/scripts/test/shared.py @@ -457,7 +457,7 @@ options.spec_tests = [t for t in options.spec_tests if os.path.basename(t) not # 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)') |