summaryrefslogtreecommitdiff
path: root/src/sys/select.rs
diff options
context:
space:
mode:
authorJonas Schievink <jonasschievink@gmail.com>2018-07-11 11:31:31 +0200
committerJonas Schievink <jonasschievink@gmail.com>2018-07-11 11:31:31 +0200
commitb57241515a8c9700beee5e228e90f70ad5b5a0c9 (patch)
tree0015981edcfd855f61ee633aadfecd2181d1b6eb /src/sys/select.rs
parentc1ee0d0c75619e8bf97900b30ae07beff27a04da (diff)
downloadnix-b57241515a8c9700beee5e228e90f70ad5b5a0c9.zip
Enable the select tests on powerpc and mips
They pass at least on my machine with QEMU, so the underlying bugs might have been fixed.
Diffstat (limited to 'src/sys/select.rs')
-rw-r--r--src/sys/select.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/sys/select.rs b/src/sys/select.rs
index 0b6d2c40..95b6b148 100644
--- a/src/sys/select.rs
+++ b/src/sys/select.rs
@@ -273,14 +273,7 @@ mod tests {
assert_eq!(set.highest(), Some(7));
}
- // powerpc-unknown-linux-gnu currently fails on the first `assert_eq` because
- // `select()` returns a 0 instead of a 1. Since this test has only been run on
- // qemu, it's unclear if this is a OS or qemu bug. Just disable it on that arch
- // for now.
- // FIXME: Fix tests for powerpc and mips
- // FIXME: Add a link to an upstream qemu bug if there is one
#[test]
- #[cfg_attr(any(target_arch = "powerpc", target_arch = "mips"), ignore)]
fn test_select() {
let (r1, w1) = pipe().unwrap();
write(w1, b"hi!").unwrap();
@@ -301,7 +294,6 @@ mod tests {
}
#[test]
- #[cfg_attr(any(target_arch = "powerpc", target_arch = "mips"), ignore)]
fn test_select_nfds() {
let (r1, w1) = pipe().unwrap();
write(w1, b"hi!").unwrap();
@@ -322,7 +314,6 @@ mod tests {
}
#[test]
- #[cfg_attr(any(target_arch = "powerpc", target_arch = "mips"), ignore)]
fn test_select_nfds2() {
let (r1, w1) = pipe().unwrap();
write(w1, b"hi!").unwrap();