From dde00869739e09c5d6f1f52dc430a8821eabcb68 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 22 Oct 2025 18:55:10 +0300 Subject: [PATCH] gnu: rust: Don't skip extra tests on aarch64-linux. * gnu/packages/rust.scm (rust)[arguments]: Remove the phase skipping some tests on aarch64-linux. Change-Id: I666237326f4208f9efbfe980c84384fa5f324fe3 --- gnu/packages/rust.scm | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 1f2aba2a84..53f42f7242 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -1696,37 +1696,6 @@ ge13ca993e8ccb9ba9847cc330696e02839f328f7/jemalloc")) ,@(make-ignore-test-list '("fn test_missing_tests"))))))) `()) - ,@(if (target-aarch64?) - ;; Keep this phase separate so it can be adjusted without needing - ;; to adjust the skipped tests on other architectures. - `((add-after 'unpack 'disable-tests-broken-on-aarch64 - (lambda _ - (with-directory-excursion "src/tools/cargo/tests/testsuite" - (substitute* "build_script_extra_link_arg.rs" - ,@(make-ignore-test-list - '("fn build_script_extra_link_arg_bin_single"))) - (substitute* "build_script.rs" - ,@(make-ignore-test-list - '("fn env_test"))) - (substitute* "cache_lock.rs" - ,@(make-ignore-test-list - '("fn download_then_mutate"))) - (substitute* "collisions.rs" - ,@(make-ignore-test-list - '("fn collision_doc_profile_split"))) - (substitute* "concurrent.rs" - ,@(make-ignore-test-list - '("fn no_deadlock_with_git_dependencies"))) - (substitute* "features2.rs" - ,@(make-ignore-test-list - '("fn dep_with_optional_host_deps_activated")))) - (with-directory-excursion "src/tools/clippy/tests" - ;; `"vectorcall"` is not a supported ABI for the current target - (delete-file "ui/missing_const_for_fn/could_be_const.rs") - (substitute* "missing-test-files.rs" - ,@(make-ignore-test-list - '("fn test_missing_tests"))))))) - `()) (add-after 'unpack 'disable-miscellaneous-broken-tests (lambda _ (substitute* "src/tools/cargo/tests/testsuite/check_cfg.rs"