We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b215beb commit 3bd708eCopy full SHA for 3bd708e
library/test/src/test_result.rs
@@ -105,6 +105,9 @@ pub fn get_result_from_exit_code(
105
}
106
None => unreachable!("status.code() returned None but status.signal() was None"),
107
},
108
+ // Upon an abort, Fuchsia returns the status code ZX_TASK_RETCODE_EXCEPTION_KILL.
109
+ #[cfg(target_os = "fuchsia")]
110
+ Some(-1028) => TestResult::TrFailed,
111
#[cfg(not(unix))]
112
None => TestResult::TrFailedMsg(format!("unknown return code")),
113
#[cfg(any(windows, unix))]
0 commit comments