Merge pull request #224094 from pacien/gscan2pdf-disable-test-131

gscan2pdf: disable a dubiously failing test
This commit is contained in:
Mario Rodas 2023-04-01 19:12:14 -05:00 committed by GitHub
commit 5c751605ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -102,6 +102,18 @@ perlPackages.buildPerlPackage rec {
]);
checkPhase = ''
# Temporarily disable a test failing after a patch imagemagick update.
# It might only due to the reporting and matching used in the test.
# See https://github.com/NixOS/nixpkgs/issues/223446
# See https://sourceforge.net/p/gscan2pdf/bugs/417/
#
# Failed test 'valid TIFF created'
# at t/131_save_tiff.t line 44.
# 'test.tif TIFF 70x46 70x46+0+0 8-bit sRGB 10024B 0.000u 0:00.000
# '
# doesn't match '(?^:test.tif TIFF 70x46 70x46\+0\+0 8-bit sRGB [7|9][.\d]+K?B)'
rm t/131_save_tiff.t
# Temporarily disable a dubiously failing test:
# t/169_import_scan.t ........................... 1/1
# # Failed test 'variable-height scan imported with expected size'