summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Lively <7121787+tlively@users.noreply.github.com>2022-07-08 10:53:58 -0700
committerGitHub <noreply@github.com>2022-07-08 17:53:58 +0000
commit06c50a47994e60a2730df140dfada94e2a08fb38 (patch)
treecfc0b728f25cd53068764e752fccfaf8e7711051
parent9c1314471d823796097a58dddd7aa2a558f91a93 (diff)
downloadbinaryen-06c50a47994e60a2730df140dfada94e2a08fb38.tar.gz
binaryen-06c50a47994e60a2730df140dfada94e2a08fb38.tar.bz2
binaryen-06c50a47994e60a2730df140dfada94e2a08fb38.zip
Add note on porting tests to README (#4782)
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 574e8d1c4..84dd27481 100644
--- a/README.md
+++ b/README.md
@@ -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