diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2022-07-08 10:53:58 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-08 17:53:58 +0000 |
commit | 06c50a47994e60a2730df140dfada94e2a08fb38 (patch) | |
tree | cfc0b728f25cd53068764e752fccfaf8e7711051 | |
parent | 9c1314471d823796097a58dddd7aa2a558f91a93 (diff) | |
download | binaryen-06c50a47994e60a2730df140dfada94e2a08fb38.tar.gz binaryen-06c50a47994e60a2730df140dfada94e2a08fb38.tar.bz2 binaryen-06c50a47994e60a2730df140dfada94e2a08fb38.zip |
Add note on porting tests to README (#4782)
-rw-r--r-- | README.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -561,6 +561,10 @@ The `check.py` script supports some options: tool cannot be found, and you'll see a warning. * We have tests from upstream in `tests/spec`, in git submodules. Running `./check.py` should update those. + +Note that we are trying to gradually port the legacy wasm-opt tests to use `lit` and `filecheck` as we modify them. +For `passes` tests that output wast, this can be done automatically with `scripts/port_passes_tests_to_lit.py` and for non-`passes` tests that output wast, see +https://github.com/WebAssembly/binaryen/pull/4779 for an example of how to do a simple manual port. ### Setting up dependencies |