[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
60/92: gnu: e2fsprogs: Skip failing tests on the Hurd.
From: |
guix-commits |
Subject: |
60/92: gnu: e2fsprogs: Skip failing tests on the Hurd. |
Date: |
Fri, 23 Jun 2023 12:45:44 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 60c2df61849362b13841ea0cfc668478c0433c1b
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 8ad18ccd39..151d0c18ab 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -2471,7 +2471,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"
@@ -2518,7 +2518,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
- 90/92: DRAFT hurd: Support second boot., (continued)
- 90/92: DRAFT hurd: Support second boot., guix-commits, 2023/06/23
- 67/92: gnu: swig: Skip tests when building for the Hurd., guix-commits, 2023/06/23
- 72/92: gnu: graphite2: Skip test on the Hurd., guix-commits, 2023/06/23
- 74/92: gnu: glib: Disable tests for the Hurd., guix-commits, 2023/06/23
- 24/92: gnu: gnumach: Support "noide" argument., guix-commits, 2023/06/23
- 45/92: hurd: Support system init in /libexec/runsystem., guix-commits, 2023/06/23
- 48/92: gnu: python: Support native build on the Hurd., guix-commits, 2023/06/23
- 55/92: gnu: tcl: Remove failing tests on the Hurd.., guix-commits, 2023/06/23
- 58/92: gnu: emacs: Depend on libc-for-target., guix-commits, 2023/06/23
- 59/92: gnu: procps: Skip linux-version test for the Hurd., guix-commits, 2023/06/23
- 60/92: gnu: e2fsprogs: Skip failing tests on the Hurd.,
guix-commits <=
- 64/92: gnu: openssl-1.1: Fix shared build for the Hurd., guix-commits, 2023/06/23
- 69/92: gnu: cmake-bootstrap: Fix build for the Hurd., guix-commits, 2023/06/23
- 71/92: gnu: doxygen: Fix build for the Hurd., guix-commits, 2023/06/23
- 70/92: gnu: cmake-minimal: Skip tests on the Hurd., guix-commits, 2023/06/23
- 73/92: gnu: guile-git: Skip http proxy test on the Hurd., guix-commits, 2023/06/23
- 78/92: gnu: fontforge: Support build on the Hurd., guix-commits, 2023/06/23
- 79/92: gnu: po4a: Skip failing test on the Hurd., guix-commits, 2023/06/23
- 80/92: gnu: guile-2.0: Skip failing tests on the Hurd., guix-commits, 2023/06/23
- 81/92: system: hurd: Add procps to %base-packages/hurd., guix-commits, 2023/06/23
- 82/92: system: hurd: Add swap-services to hurd-default-essential-services., guix-commits, 2023/06/23