mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
Merge pull request #7153 from uutils/sylvestre-patch-4
Use ubuntu-24.04-arm to build/test linux arm64
This commit is contained in:
@@ -496,7 +496,7 @@ jobs:
|
||||
job:
|
||||
# - { os , target , cargo-options , features , use-cross , toolchain, skip-tests }
|
||||
- { os: ubuntu-latest , target: arm-unknown-linux-gnueabihf , features: feat_os_unix_gnueabihf , use-cross: use-cross , skip-tests: true }
|
||||
- { os: ubuntu-latest , target: aarch64-unknown-linux-gnu , features: feat_os_unix_gnueabihf , use-cross: use-cross , skip-tests: true }
|
||||
- { os: ubuntu-24.04-arm , target: aarch64-unknown-linux-gnu , features: feat_os_unix_gnueabihf }
|
||||
- { os: ubuntu-latest , target: aarch64-unknown-linux-musl , features: feat_os_unix_musl , use-cross: use-cross , skip-tests: true }
|
||||
# - { os: ubuntu-latest , target: x86_64-unknown-linux-gnu , features: feat_selinux , use-cross: use-cross }
|
||||
- { os: ubuntu-latest , target: i686-unknown-linux-gnu , features: "feat_os_unix,test_risky_names", use-cross: use-cross }
|
||||
|
||||
@@ -357,6 +357,10 @@ fn test_include_exclude_same_type() {
|
||||
);
|
||||
}
|
||||
|
||||
#[cfg_attr(
|
||||
all(target_arch = "aarch64", target_os = "linux"),
|
||||
ignore = "Issue #7158 - Test not supported on ARM64 Linux"
|
||||
)]
|
||||
#[test]
|
||||
fn test_total() {
|
||||
// Example output:
|
||||
|
||||
@@ -99,6 +99,10 @@ fn test_uptime_with_non_existent_file() {
|
||||
// This will pass
|
||||
#[test]
|
||||
#[cfg(not(any(target_os = "openbsd", target_os = "macos")))]
|
||||
#[cfg_attr(
|
||||
all(target_arch = "aarch64", target_os = "linux"),
|
||||
ignore = "Issue #7159 - Test not supported on ARM64 Linux"
|
||||
)]
|
||||
#[allow(clippy::too_many_lines, clippy::items_after_statements)]
|
||||
fn test_uptime_with_file_containing_valid_boot_time_utmpx_record() {
|
||||
// This test will pass for freebsd but we currently don't support changing the utmpx file for
|
||||
|
||||
@@ -26,6 +26,10 @@ fn test_count() {
|
||||
#[cfg(unix)]
|
||||
#[test]
|
||||
#[cfg(not(target_os = "openbsd"))]
|
||||
#[cfg_attr(
|
||||
all(target_arch = "aarch64", target_os = "linux"),
|
||||
ignore = "Issue #7174 - Test not supported on ARM64 Linux"
|
||||
)]
|
||||
fn test_boot() {
|
||||
let ts = TestScenario::new(util_name!());
|
||||
for opt in ["-b", "--boot", "--b"] {
|
||||
|
||||
Reference in New Issue
Block a user