Skip to content

Commit 3f6b151

Browse files
committed
Skip uinput tests on musl+mips+ppc64+sparc64
1 parent e45454f commit 3f6b151

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

libc-test/build.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2514,6 +2514,10 @@ fn test_linux(target: &str) {
25142514
if ty.starts_with("__c_anonymous_") {
25152515
return true;
25162516
}
2517+
// FIXME: musl CI has old headers
2518+
if (musl || sparc64) && ty.starts_with("uinput_") {
2519+
return true;
2520+
}
25172521
match ty {
25182522
// These cannot be tested when "resolv.h" is included and are tested
25192523
// in the `linux_elf.rs` file.
@@ -2675,6 +2679,12 @@ fn test_linux(target: &str) {
26752679
// FIXME: Requires recent kernel headers (5.8):
26762680
"STATX_MNT_ID" => true,
26772681

2682+
// FIXME: requires more recent kernel headers on CI
2683+
| "UINPUT_VERSION"
2684+
| "SW_MAX"
2685+
| "SW_CNT"
2686+
if musl || mips || ppc64 || riscv64 || sparc64 => true,
2687+
26782688
_ => false,
26792689
}
26802690
});

0 commit comments

Comments
 (0)