Skip to content

Commit

Permalink
Removed tests on ARM for non-existant constants.
Browse files Browse the repository at this point in the history
  • Loading branch information
berkowski authored and Susurrus committed Apr 9, 2017
1 parent d623db9 commit 09c00ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/sys/socket/consts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -434,12 +434,15 @@ mod test {
TCP_CORK,
// SO_BUSY_POLL,
// SO_RXQ_OVFL,
#[cfg(not(target_arch="arm"))]
SO_PASSCRED,
SO_PRIORITY,
// SO_PROTOCOL,
SO_RCVBUFFORCE,
// SO_PEEK_OFF,
#[cfg(not(target_arch="arm"))]
SO_PEERCRED,
#[cfg(not(target_arch="arm"))]
SO_SNDBUFFORCE,
MSG_ERRQUEUE);
}
Expand Down
2 changes: 1 addition & 1 deletion src/sys/socket/sockopt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ impl<'a> Set<'a, usize> for SetUsize {

#[cfg(test)]
mod test {
#[cfg(target_os = "linux")]
#[cfg(all(target_os = "linux", not(target_arch = "arm")))]
#[test]
fn can_get_peercred_on_unix_socket() {
use super::super::*;
Expand Down

0 comments on commit 09c00ed

Please sign in to comment.