Skip uinput tests on musl+mips+ppc64+sparc64
This commit is contained in:
parent
e45454f20d
commit
3f6b151eed
@ -2514,6 +2514,10 @@ fn test_linux(target: &str) {
|
|||||||
if ty.starts_with("__c_anonymous_") {
|
if ty.starts_with("__c_anonymous_") {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
// FIXME: musl CI has old headers
|
||||||
|
if (musl || sparc64) && ty.starts_with("uinput_") {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
match ty {
|
match ty {
|
||||||
// These cannot be tested when "resolv.h" is included and are tested
|
// These cannot be tested when "resolv.h" is included and are tested
|
||||||
// in the `linux_elf.rs` file.
|
// in the `linux_elf.rs` file.
|
||||||
@ -2675,6 +2679,12 @@ fn test_linux(target: &str) {
|
|||||||
// FIXME: Requires recent kernel headers (5.8):
|
// FIXME: Requires recent kernel headers (5.8):
|
||||||
"STATX_MNT_ID" => true,
|
"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,
|
_ => false,
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user