mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-13 00:51:20 +00:00
add execvp
This commit is contained in:
@ -43,6 +43,7 @@ mod test_exceptions_2;
|
||||
mod test_exceptions_multi;
|
||||
mod test_exceptions_std;
|
||||
mod test_exceptions_white_list;
|
||||
mod test_execvp;
|
||||
mod test_fast_math;
|
||||
mod test_flexarray_struct;
|
||||
mod test_float32_precise;
|
||||
|
17
lib/emscripten/tests/emtests/test_execvp.rs
Normal file
17
lib/emscripten/tests/emtests/test_execvp.rs
Normal file
@ -0,0 +1,17 @@
|
||||
#[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"
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user