Stream: git-wasmtime

Topic: wasmtime / issue #6341 test: add cases from `wasi-testsuite`


view this post on Zulip Wasmtime GitHub notifications bot (May 04 2023 at 18:12):

abrown commented on issue #6341:

Oh, here's an example of what happens when one removes an entry from the ignore list:

...
Testing tests/wasi_testsuite/wasi-common/tests/rust/testsuite/clock_time_get.wasm
Ignoring tests/wasi_testsuite/wasi-common/tests/rust/testsuite/close_preopen.wasm
Ignoring tests/wasi_testsuite/wasi-common/tests/rust/testsuite/dangling_fd.wasm
Ignoring tests/wasi_testsuite/wasi-common/tests/rust/testsuite/dangling_symlink.wasm
Ignoring tests/wasi_testsuite/wasi-common/tests/rust/testsuite/directory_seek.wasm
Testing tests/wasi_testsuite/wasi-common/tests/rust/testsuite/fd_advise.wasm
  command: "/home/abrown/Code/wasmtime/target/debug/wasmtime" "run" "--disable-cache" "--dir" "tests/wasi_testsuite/wasi-common/tests/rust/testsuite/fs-tests.dir" "tests/wasi_testsuite/wasi-common/tests/rust/testsuite/fd_advise.wasm" "fs-tests.dir"
  spec: Spec {
    args: Some(
        [
            "fs-tests.dir",
        ],
    ),
    dirs: Some(
        [
            "fs-tests.dir",
        ],
    ),
    env: None,
    exit_code: None,
    stderr: None,
    stdout: None,
}
  result: Output {
    status: ExitStatus(
        unix_wait_status(
            256,
        ),
    ),
    stdout: "",
    stderr: "failed to find scratch dir\n",
}
thread 'wasi_testsuite::wasi_testsuite' panicked at 'FAILED! The result does not match the specification', tests/all/wasi_testsuite.rs:85:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
test wasi_testsuite::wasi_testsuite ... FAILED


Last updated: Nov 22 2024 at 17:03 UTC