Skip to content

Commit da40e3b

Browse files
ctrlcctrlvdario23
authored andcommitted
Forgot to add new rules to the tests!
fml
1 parent daf29df commit da40e3b

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

test/test_unistd.rs

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,12 @@ fn test_getgrgid() {
572572
#[cfg(not(any(target_os = "android",
573573
target_os = "ios",
574574
target_os = "macos",
575-
target_env = "musl")))]
575+
target_env = "musl",
576+
target_arch = "mips",
577+
target_arch = "mips64",
578+
target_arch = "mips64el",
579+
target_arch = "mipsel",
580+
target_arch = "s390x")))]
576581
fn test_users_iterator() {
577582
#[allow(unused_variables)]
578583
let m = ::USER_GRP_ITER_MTX.lock().expect("Mutex got poisoned by another test");
@@ -588,7 +593,12 @@ fn test_users_iterator() {
588593
#[cfg(not(any(target_os = "android",
589594
target_os = "ios",
590595
target_os = "macos",
591-
target_env = "musl")))]
596+
target_env = "musl",
597+
target_arch = "mips",
598+
target_arch = "mips64",
599+
target_arch = "mips64el",
600+
target_arch = "mipsel",
601+
target_arch = "s390x")))]
592602
fn test_groups_iterator() {
593603
#[allow(unused_variables)]
594604
let m = ::USER_GRP_ITER_MTX.lock().expect("Mutex got poisoned by another test");
@@ -604,7 +614,12 @@ fn test_groups_iterator() {
604614
#[cfg(not(any(target_os = "android",
605615
target_os = "ios",
606616
target_os = "macos",
607-
target_env = "musl")))]
617+
target_env = "musl",
618+
target_arch = "mips",
619+
target_arch = "mips64",
620+
target_arch = "mips64el",
621+
target_arch = "mipsel",
622+
target_arch = "s390x")))]
608623
/// This test sees what happens when we use a ridiculously small buffer.
609624
fn test_users_iterator_smallbuf() {
610625
#[allow(unused_variables)]

0 commit comments

Comments
 (0)