Add a few CLI tests for WASI. (#1281)

While here, move rs2wasm-add-func.wat into the same directory as the
other .wat tests to keep things tidy.
This commit is contained in:
Dan Gohman
2020-03-18 15:41:58 -07:00
committed by GitHub
parent f63c3c814e
commit 1c55eb1a8b
5 changed files with 69 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ use wasmtime_environ::settings::Configurable;
use wasmtime_environ::CacheConfig;
use wasmtime_jit::{instantiate, native, CompilationStrategy, Compiler, NullResolver};
const PATH_MODULE_RS2WASM_ADD_FUNC: &str = r"tests/wat/rs2wasm-add-func.wat";
const PATH_MODULE_RS2WASM_ADD_FUNC: &str = r"tests/wasm/rs2wasm-add-func.wat";
/// Simple test reading a wasm-file and translating to binary representation.
#[test]