diff options
author | Sam Clegg <sbc@chromium.org> | 2022-08-07 07:08:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-07 07:08:28 -0700 |
commit | 680e4ecb581dd29947ecbaf3fb11817c187c30c9 (patch) | |
tree | 38b4fd822f5335d71be37eef5cff6c8003dd6059 /scripts/test/lld.py | |
parent | da916dbae19d213321225da2658423c09b85205b (diff) | |
download | binaryen-680e4ecb581dd29947ecbaf3fb11817c187c30c9.tar.gz binaryen-680e4ecb581dd29947ecbaf3fb11817c187c30c9.tar.bz2 binaryen-680e4ecb581dd29947ecbaf3fb11817c187c30c9.zip |
Remove metadata generation from wasm-emscripten-finalize (#4863)
This is no longer needed by emscripten as of:
https://github.com/emscripten-core/emscripten/pull/16529
Diffstat (limited to 'scripts/test/lld.py')
-rw-r--r-- | scripts/test/lld.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/scripts/test/lld.py b/scripts/test/lld.py index 2fc3261a8..4f1bbc0ee 100644 --- a/scripts/test/lld.py +++ b/scripts/test/lld.py @@ -12,7 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -import json import os from . import shared from . import support @@ -26,8 +25,6 @@ def args_for_finalize(filename): ret += ['--side-module'] if 'standalone-wasm' in filename: ret += ['--standalone-wasm'] - if 'no-emit-metadata' in filename: - ret += ['--no-emit-metadata'] return ret @@ -59,13 +56,6 @@ def run_test(input_path): actual = support.run_command(cmd) shared.fail_if_not_identical_to_file(actual, expected_file) - if ext == '.out' and '--no-emit-metadata' not in cmd: - start = actual.find('--BEGIN METADATA --\n') - end = actual.find('-- END METADATA --\n') - if start == -1 or end == -1: - shared.fail_with_error('json metadata tags not found') - the_json = actual[start + len('--BEGIN METADATA --\n'):end] - json.loads(the_json) if ext == '.mem.out': with open(mem_file) as mf: |