mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 14:25:32 +00:00
18 lines
428 B
Rust
18 lines
428 B
Rust
#[test]
|
|
fn test_execvp() {
|
|
#[cfg(not(target_os = "windows"))]
|
|
assert_emscripten_output!(
|
|
"../../emtests/test_execvp.wasm",
|
|
"test_execvp",
|
|
vec![],
|
|
"../../emtests/test_execvp.out"
|
|
);
|
|
#[cfg(target_os = "windows")]
|
|
assert_emscripten_output!(
|
|
"../../emtests/test_execvp_windows.wasm",
|
|
"test_execvp",
|
|
vec![],
|
|
"../../emtests/test_execvp.out"
|
|
);
|
|
}
|