()
| 73 | // Wasmtime shall fail when not enough arguments were provided. |
| 74 | #[test] |
| 75 | fn run_wasmtime_simple_fail_no_args() -> Result<()> { |
| 76 | let wasm = build_wasm("tests/all/cli_tests/simple.wat")?; |
| 77 | assert!( |
| 78 | run_wasmtime(&[ |
| 79 | "run", |
| 80 | "-Ccache=n", |
| 81 | "--invoke", |
| 82 | "simple", |
| 83 | wasm.path().to_str().unwrap(), |
| 84 | ]) |
| 85 | .is_err(), |
| 86 | "shall fail" |
| 87 | ); |
| 88 | Ok(()) |
| 89 | } |
| 90 | |
| 91 | #[test] |
| 92 | fn run_coredump_smoketest() -> Result<()> { |
nothing calls this directly
no test coverage detected