]> git.ipfire.org Git - thirdparty/grub.git/commit
tests: Skip tests if required tools are not available
authorLeo Sandoval <lsandova@redhat.com>
Fri, 19 Sep 2025 21:45:03 +0000 (15:45 -0600)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 6 Nov 2025 18:27:06 +0000 (19:27 +0100)
commitbf13fed5fee963a7ec676baecf02684310a07ddf
tree40cb49875e6a5289997c78c13b3553f27106be3e
parentd9b7b23d2d90922ea82ceceebb283bc16f85cd4b
tests: Skip tests if required tools are not available

There is no reason to fail a test if the required testing tool is not
present on the system, so skip the test instead of failing it.

Signed-off-by: Leo Sandoval <lsandova@redhat.com>
Reviewed-by: Andrew Hamilton <adhamilt@gmail.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
29 files changed:
tests/btrfs_test.in
tests/cpio_test.in
tests/erofs_test.in
tests/exfat_test.in
tests/ext234_test.in
tests/f2fs_test.in
tests/fat_test.in
tests/grub_cmd_cryptomount.in
tests/gzcompress_test.in
tests/hfs_test.in
tests/hfsplus_test.in
tests/iso9660_test.in
tests/jfs_test.in
tests/luks1_test.in
tests/luks2_test.in
tests/lzocompress_test.in
tests/minixfs_test.in
tests/nilfs2_test.in
tests/ntfs_test.in
tests/partmap_test.in
tests/reiserfs_test.in
tests/romfs_test.in
tests/squashfs_test.in
tests/tar_test.in
tests/tpm2_key_protector_test.in
tests/udf_test.in
tests/xfs_test.in
tests/xzcompress_test.in
tests/zfs_test.in