Skip to content

Commit

Permalink
Unignore some items test on sparc64
Browse files Browse the repository at this point in the history
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
  • Loading branch information
JohnTitor committed Apr 24, 2023
1 parent 3e01cb8 commit 6be93b1
Showing 1 changed file with 9 additions and 35 deletions.
44 changes: 9 additions & 35 deletions libc-test/build.rs
Expand Up @@ -3504,7 +3504,7 @@ fn test_linux(target: &str) {
return true;
}
}
if musl || sparc64 {
if musl {
// FIXME: Requires >= 5.4.1 kernel headers
if name.starts_with("J1939")
|| name.starts_with("RTEXT_FILTER_")
Expand Down Expand Up @@ -3670,24 +3670,24 @@ fn test_linux(target: &str) {
| "RESOLVE_IN_ROOT"
| "RESOLVE_NO_MAGICLINKS"
| "RESOLVE_NO_SYMLINKS"
| "RESOLVE_NO_XDEV" if musl || sparc64 => true,
| "RESOLVE_NO_XDEV" if musl => true,

// FIXME: requires Linux >= 5.4:
| "CAN_J1939"
| "CAN_NPROTO" if musl || sparc64 => true,
| "CAN_NPROTO" if musl => true,

// FIXME: requires Linux >= 5.6
"GRND_INSECURE" if musl || sparc64 => true,
"GRND_INSECURE" if musl => true,

// FIXME: requires Linux >= 5.7:
"MREMAP_DONTUNMAP" if musl || sparc64 => true,
"MREMAP_DONTUNMAP" if musl => true,

// FIXME: Requires more recent kernel headers (5.9 / 5.11):
| "CLOSE_RANGE_UNSHARE"
| "CLOSE_RANGE_CLOEXEC" if musl || sparc64 => true,
| "CLOSE_RANGE_CLOEXEC" if musl => true,

// FIXME: requires Linux >= 5.12:
"MPOL_F_NUMA_BALANCING" if musl || sparc64 => true,
"MPOL_F_NUMA_BALANCING" if musl => true,

// FIXME: Requires more recent kernel headers
| "NFNL_SUBSYS_COUNT" // bumped in v5.14
Expand All @@ -3699,39 +3699,16 @@ fn test_linux(target: &str) {
| "NFULA_VLAN_UNSPEC" // v5.4+
| "RTNLGRP_NEXTHOP" // linux v5.3+
| "RTNLGRP_BRVLAN" // linux v5.6+
if musl || sparc64 => true,
if musl => true,

// FIXME: Unignore once we update Ubuntu to 22.04
| "VMADDR_CID_LOCAL"
| "STATX_MNT_ID"
| "SYS_close_range"
| "SYS_openat2"
| "SYS_pidfd_getfd"
| "SYS_faccessat2"
| "SYS_process_madvise"
| "SYS_epoll_pwait2"
| "SYS_mount_setattr"
| "SYS_quotactl_fd"
| "SYS_landlock_create_ruleset"
| "SYS_landlock_add_rule"
| "SYS_landlock_restrict_self"
| "SYS_process_mrelease"
| "IFLA_PROP_LIST"
| "IFLA_ALT_IFNAME"
| "IFLA_PERM_ADDRESS"
| "IFLA_PROTO_DOWN_REASON"
| "STATX_ATTR_MOUNT_ROOT"
| "STATX_ATTR_VERITY"
| "STATX_ATTR_DAX"
if sparc64 => true,
// Added in Linux 5.13
"PTRACE_GET_RSEQ_CONFIGURATION" if sparc64 => true,

| "MADV_COLD"
| "MADV_PAGEOUT"
| "MADV_POPULATE_READ"
| "MADV_POPULATE_WRITE"
if sparc64 || musl => true,
if musl => true,

// FIXME: Requires more recent kernel headers
| "IFLA_PARENT_DEV_NAME" // linux v5.13+
Expand Down Expand Up @@ -3781,9 +3758,6 @@ fn test_linux(target: &str) {
// https://github.com/gnzlbg/ctest/issues/68
"lio_listio" if musl => true,

// FIXME: the glibc version used by the Sparc64 build jobs
// which use Debian 10.0 is too old.
"statx" if sparc64 => true,
// Needs glibc 2.34 or later.
"posix_spawn_file_actions_addclosefrom_np" if gnu && sparc64 => true,
// Needs glibc 2.35 or later.
Expand Down

0 comments on commit 6be93b1

Please sign in to comment.