Ensure wasi-common tests always have an unreadable stdin
Some wasi-common tests assume that stdin is never ready to be read, but on CI stdin is closed so it's always ready to be read. Work around this by guaranteeing that wasi-common tests always have an unreadable stdin pipe by creating our own pipe.
This commit is contained in:
@@ -17,7 +17,8 @@ wasm_tests = []
|
||||
|
||||
[dependencies]
|
||||
wasi-common-cbindgen = { path = "wasi-common-cbindgen", version = "0.5.0" }
|
||||
failure = "0.1"
|
||||
anyhow = "1.0"
|
||||
thiserror = "1.0"
|
||||
libc = "0.2"
|
||||
rand = "0.7"
|
||||
cfg-if = "0.1.9"
|
||||
@@ -45,6 +46,7 @@ cranelift-codegen = "0.49"
|
||||
target-lexicon = "0.8.1"
|
||||
pretty_env_logger = "0.3.0"
|
||||
tempfile = "3.1.0"
|
||||
os_pipe = "0.9"
|
||||
|
||||
[build-dependencies]
|
||||
cfg-if = "0.1.9"
|
||||
|
||||
Reference in New Issue
Block a user