Skip to content

Commit 334e826

Browse files
berkowskiSusurrus
authored andcommitted
Re-enabled errorno test for not_android.
1 parent 57169b8 commit 334e826

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

src/errno.rs

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2059,15 +2059,13 @@ mod test {
20592059
ENOTRECOVERABLE);
20602060
}
20612061

2062-
// This test fails because MIPS does not have
2063-
// ERFKILL or EHWPOISON.
2064-
// #[test]
2065-
// #[cfg(target_os = "linux")]
2066-
// pub fn test_linux_not_android_errnos() {
2067-
// check_errno!(
2068-
// ERFKILL /*,
2069-
// EHWPOISON */);
2070-
// }
2062+
#[test]
2063+
#[cfg(all(target_os = "linux", not(target_arch = "mips")))]
2064+
pub fn test_linux_not_android_errnos() {
2065+
check_errno!(
2066+
ERFKILL /*,
2067+
EHWPOISON */);
2068+
}
20712069

20722070
#[test]
20732071
#[cfg(target_os = "freebsd")]

0 commit comments

Comments
 (0)