Files
wazero/internal/integration_test
Takeshi Yoneda ad968dc3fe Pass correct api.Module to host functions (#1213)
Fixes #1211

Previously, host functions are getting api.Module for the "originating" module, 
which is the module for api.Function currently invoked, except that the api.Module 
is modified by withMemory with the caller's memory instance, therefore there 
haven't been no problem for most cases. The only issues were the methods 
besides Memory() of api.Module, and this commit fixes them.

Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>
2023-03-08 15:05:48 +09:00
..
2023-01-10 09:32:42 +09:00

This directory contains tests which use multiple packages. For example:

  • bench contains benchmark tests.
  • engine contains variety of end-to-end tests, mainly to ensure the consistency in the behavior between engines.
  • fuzzcases contains variety of test cases found by the fuzz testing.
  • post1_0 contains end-to-end tests for features finished after WebAssembly 1.0 (20191205).
  • spectest contains end-to-end tests with the WebAssembly specification tests.
  • vs tests and benchmarks VS other WebAssembly runtimes.

Note: This doesn't contain WASI tests, as there's not yet an official testsuite. Meanwhile, WASI functions are unit tested including via Text Format imports here