Files
wasmtime/wasi-common/tests/wasm_tests/main.rs
Alex Crichton 2411831964 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.
2019-11-07 14:57:43 -08:00

17 lines
267 B
Rust

#![cfg(feature = "wasm_tests")]
mod runtime;
mod utils;
use std::sync::Once;
static LOG_INIT: Once = Once::new();
fn setup_log() {
LOG_INIT.call_once(|| {
pretty_env_logger::init();
})
}
include!(concat!(env!("OUT_DIR"), "/wasi_misc_tests.rs"));