[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
22/58: gnu: e2fsprogs: Skip failing tests on the Hurd.
From: |
guix-commits |
Subject: |
22/58: gnu: e2fsprogs: Skip failing tests on the Hurd. |
Date: |
Wed, 19 Jul 2023 03:00:47 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 582cefc1053df5989fa8f952328cb24c328bf7d8
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Fri Jun 9 10:12:45 2023 +0200
gnu: e2fsprogs: Skip failing tests on the Hurd.
* gnu/packages/linux.scm (e2fsprogs)[arguments]: When building natively on
the
Hurd, add phase 'skip-tests'.
---
gnu/packages/linux.scm | 74 ++++++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 72 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 190c28cb60..81658534b5 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -2505,7 +2505,7 @@ module.")
perl
procps))
(arguments
- '(;; util-linux is the preferred source for some of the libraries and
+ `(;; util-linux is the preferred source for some of the libraries and
;; commands, so disable them (see, e.g.,
;; <http://git.buildroot.net/buildroot/commit/?id=e1ffc2f791b33633>.)
#:configure-flags (list "--disable-libblkid"
@@ -2552,7 +2552,77 @@ module.")
(let ((archives (find-files lib "\\.a$")))
(for-each (lambda (file)
(chmod file #o666))
- archives))))))))
+ archives)))))
+ ,@(if (system-hurd?)
+ '((add-after 'unpack 'skip-tests
+ (lambda _
+ (with-directory-excursion "tests"
+ (for-each
+ (lambda (directory)
+ (delete-file-recursively directory))
+ '("d_bad_ostype"
+ "f_detect_junk"
+ "f_extent_oobounds"
+ "j_ext_long_revoke_trans"
+ "j_ext_long_trans"
+ "j_long_revoke_trans"
+ "j_long_revoke_trans_mcsum_32bit"
+ "j_long_revoke_trans_mcsum_64bit"
+ "j_long_trans"
+ "j_long_trans_mcsum_32bit"
+ "j_long_trans_mcsum_64bit"
+ "j_short_revoke_trans"
+ "j_short_revoke_trans_mcsum_64bit"
+ "j_short_trans_64bit"
+ "j_short_trans"
+ "j_short_trans_mcsum_64bit"
+ "j_short_trans_old_csum"
+ "j_short_trans_open_recover"
+ "j_short_trans_recover"
+ "j_short_trans_recover_mcsum_64bit"
+ "j_short_uncommitted_trans"
+ "j_short_uncommitted_trans_mcsum_64bit"
+ "m_error_behavior"
+ "m_minrootdir"
+ "m_rootdir"
+ "r_32to64bit_expand_full"
+ "r_expand_full"
+ "r_fixup_lastbg_big"
+ "t_change_uuid"
+ "t_change_uuid_mcsum"
+ "t_change_uuid_mcsum_mounted"
+ "t_change_uuid_mcsum_seed_mounted"
+ "t_change_uuid_mounted"
+ "t_disable_changed_csum_seed"
+ "t_disable_changed_csum_seed_mounted"
+ "t_disable_csum_seed"
+ "t_disable_meta_csum_and_seed"
+ "t_enable_csum_seed"
+ "t_format_csum_seed"
+ "t_replay_and_set"
+ "u_compound_rollback"
+ "u_corrupt_blk_csum"
+ "u_corrupt_blk_csum_force"
+ "u_corrupt_key_csum"
+ "u_debugfs_opt"
+ "u_dryrun"
+ "u_e2fsck_opt"
+ "u_errorout"
+ "u_force"
+ "u_force_dryrun"
+ "u_incomplete"
+ "u_mke2fs_opt"
+ "u_mke2fs_opt_oddsize"
+ "u_offset"
+ "u_onefile_bad"
+ "u_resize2fs_opt"
+ "u_revert_64bitmcsum_onefile"
+ "u_revert_all_onefile"
+ "u_revert_upgrade_to_64bitmcsum"
+ "u_tune2fs_opt"
+ "u_undo_undo"
+ "u_wrong_fs"))))))
+ '()))))
(home-page "https://e2fsprogs.sourceforge.net/")
(synopsis "Creating and checking ext2/ext3/ext4 file systems")
(description
- 08/58: gnu: gettext-minimal: Remove XFAIL_TESTS for the Hurd., (continued)
- 08/58: gnu: gettext-minimal: Remove XFAIL_TESTS for the Hurd., guix-commits, 2023/07/19
- 10/58: gnu: openssl: Build fix for the Hurd., guix-commits, 2023/07/19
- 21/58: gnu: procps: Skip linux-version test for the Hurd., guix-commits, 2023/07/19
- 05/58: Revert "gnu: sed: Skip failing test on GNU/Hurd.", guix-commits, 2023/07/19
- 03/58: gnu: coreutils: Skip hanging and failing test on the Hurd., guix-commits, 2023/07/19
- 28/58: gnu: swig: Skip tests when building for the Hurd., guix-commits, 2023/07/19
- 15/58: gnu: c-ares: Skip failing tests on the Hurd., guix-commits, 2023/07/19
- 19/58: gnu: curl: Skip failing test on the Hurd., guix-commits, 2023/07/19
- 01/58: Revert "gnu: libunistring: Fix make check for the Hurd.", guix-commits, 2023/07/19
- 12/58: gnu: mpfr: Skip failing test on the Hurd., guix-commits, 2023/07/19
- 22/58: gnu: e2fsprogs: Skip failing tests on the Hurd.,
guix-commits <=
- 23/58: gnu: parted: Disable tests for the Hurd., guix-commits, 2023/07/19
- 24/58: gnu: libpaper: Disable tests for the Hurd., guix-commits, 2023/07/19
- 27/58: gnu: tcsh: Skip substitution tests on the Hurd., guix-commits, 2023/07/19
- 20/58: gnu: git: Skip failing test on the Hurd., guix-commits, 2023/07/19
- 32/58: gnu: doxygen: Fix build for the Hurd., guix-commits, 2023/07/19
- 34/58: gnu: guile-git: Skip http proxy test on the Hurd., guix-commits, 2023/07/19
- 02/58: gnu: guile: Skip hanging and failing pipe tests on the Hurd., guix-commits, 2023/07/19
- 56/58: DRAFT system: examples: Add devel-hurd.tmpl., guix-commits, 2023/07/19
- 48/58: system: hurd: Add procps to %base-packages/hurd., guix-commits, 2023/07/19
- 55/58: DRAFT hurd-boot: Support second boot., guix-commits, 2023/07/19