Skip to content

Commit

Permalink
Skip uinput tests on musl+mips+ppc64+sparc64
Browse files Browse the repository at this point in the history
  • Loading branch information
coolreader18 committed Mar 13, 2021
1 parent e45454f commit 3f6b151
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions libc-test/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2514,6 +2514,10 @@ fn test_linux(target: &str) {
if ty.starts_with("__c_anonymous_") {
return true;
}
// FIXME: musl CI has old headers
if (musl || sparc64) && ty.starts_with("uinput_") {
return true;
}
match ty {
// These cannot be tested when "resolv.h" is included and are tested
// in the `linux_elf.rs` file.
Expand Down Expand Up @@ -2675,6 +2679,12 @@ fn test_linux(target: &str) {
// FIXME: Requires recent kernel headers (5.8):
"STATX_MNT_ID" => true,

// FIXME: requires more recent kernel headers on CI
| "UINPUT_VERSION"
| "SW_MAX"
| "SW_CNT"
if musl || mips || ppc64 || riscv64 || sparc64 => true,

_ => false,
}
});
Expand Down

0 comments on commit 3f6b151

Please sign in to comment.