Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 1.39 KB

File metadata and controls

42 lines (32 loc) · 1.39 KB

Tests

This directory holds watgo's end-to-end and integration-style test corpora. The corpora are chosen to be self-testing - the WAT modules compiled by watgo get executed and results are compared to expected results. Broad compatibility coverage uses Node.js, and selected suites also run through wasmvm.

When applicable, the test harnesses also use the WAT code in these corpora to run roundtrip printing tests (where the functionality of the printer package is exercised).

Test Sets

Updating From Upstream

Use:

tests/update-upstream-tests.sh

This script clones the upstream repositories into /tmp and syncs their tracked test assets into this tree. It is intended to be run manually once in a while, not automatically as part of normal go test runs.