Debian Codegraph @

debian/patches/nonfree_tests.patch

raw
1 Subject: Skipping tests dependent on removed files
2 Forwarded: not-needed
3 Author: Nicholas Bamber <[email protected]>
4 Reviewed-by: gregor herrmann <[email protected]>
5 Last-Update: 2019-01-15
6
7 --- a/FT2/t/t10ft2.t
8 +++ b/FT2/t/t10ft2.t
9 @@ -356,6 +356,8 @@
10 "and returns correct error when we ask");
11
12 # try a MM font now - test font only has A defined
13 + SKIP: {
14 + skip "MMOne.pfb file removed for copyright reasons", 11;
15 print "# Try a multiple master font\n";
16 my $mmfont = Imager::Font->new(file=>"fontfiles/MMOne.pfb", type=>"ft2",
17 color=>"white", aa=>1, size=>60);
18 @@ -388,6 +390,7 @@
19
20 push @test_output, "t38mm.ppm";
21 ok($mmim->write(file=>"testout/t38mm.ppm"), "save MM output");
22 + }
23
24 SKIP:
25 { print "# alignment tests\n";
26 --- a/README
27 +++ b/README
28 @@ -5,7 +5,8 @@
29 modify it under the same terms as Perl itself.
30
31 A test font, FT2/fontfiles/MMOne.pfb contains Postscript code
32 -copyrighted by Adobe. See adobe.txt for license information.
33 +copyrighted by Adobe. However for the Debian system
34 +this has been removed for copyright reasons.
35 ================================================================
36
37 >> THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY WHATSOEVER <<
38 --- a/T1/t/t10type1.t
39 +++ b/T1/t/t10type1.t
40 @@ -1,6 +1,6 @@
41 #!perl -w
42 use strict;
43 -use Test::More;
44 +use Test::More qw(skip_all);
45 use Imager ':all';
46 use Imager::Test qw(diff_text_with_nul is_color3 is_image isnt_image);
47 use Imager::Font::T1;
48 --- a/T1/t/t20oo.t
49 +++ b/T1/t/t20oo.t
50 @@ -2,7 +2,7 @@
51 use strict;
52 use Imager;
53 use Imager::Test qw(isnt_image);
54 -use Test::More tests => 14;
55 +use Test::More skip_all => 'removed non-DFSG material';
56
57 # extracted from t/t36oofont.t
58