INNER CODE UNIT · Python
stage_wasi
wasm3/wasm3 · extra/check.py:120
def stage_wasi(args):
run([sys.executable, "run-wasi-test.py", "--exec", built(args, "wasm3")], cwd=TEST)
# The order is the pipeline: a stage assumes every stage above it has passed. Naming
# stages on the command line selects from this sequence, it does not reorder it.
# fmt: off
STAGES = (
("format", "codespell, then extra/format.py --check", stage_format),
("build", "cmake, with -Werror and the internal tests on", stage_build),
("embed", "the embedding API: m3_test, m3_test_reftypes", stage_embed),
("regression", "test/run-regression-test.py", stage_regression),
("spec", "test/run-spec-test.py, wg-3.0 then wg-2.0", stage_spec),
("wasi", "test/run-wasi-test.py", stage_wasi),
)
# fmt: on
NAMES = [name for name, _, _ in STAGES]