add execvp

This commit is contained in:
Mackenzie Clark
2019-03-01 10:59:52 -08:00
parent 2ea9d0b09b
commit 00e3ec1446
9 changed files with 98 additions and 0 deletions

View File

@ -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;

View 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"
);
}