Subject: Skipping tests dependent on removed files
Forwarded: not-needed
Author: Nicholas Bamber <nicholas@periapt.co.uk>
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2019-01-15

--- a/FT2/t/t10ft2.t
+++ b/FT2/t/t10ft2.t
@@ -356,6 +356,8 @@
          "and returns correct error when we ask");
 
   # try a MM font now - test font only has A defined
+  SKIP: {
+    skip "MMOne.pfb file removed for copyright reasons", 11;
   print "# Try a multiple master font\n";
   my $mmfont = Imager::Font->new(file=>"fontfiles/MMOne.pfb", type=>"ft2", 
                                  color=>"white", aa=>1, size=>60);
@@ -388,6 +390,7 @@
 
   push @test_output, "t38mm.ppm";
   ok($mmim->write(file=>"testout/t38mm.ppm"), "save MM output");
+ }
 
  SKIP:
   { print "# alignment tests\n";
--- a/README
+++ b/README
@@ -5,7 +5,8 @@
 modify it under the same terms as Perl itself.
 
 A test font, FT2/fontfiles/MMOne.pfb contains Postscript code
-copyrighted by Adobe.  See adobe.txt for license information.
+copyrighted by Adobe.  However for the Debian system
+this has been removed for copyright reasons.
 ================================================================
 
 >> THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY WHATSOEVER <<
--- a/T1/t/t10type1.t
+++ b/T1/t/t10type1.t
@@ -1,6 +1,6 @@
 #!perl -w
 use strict;
-use Test::More;
+use Test::More qw(skip_all);
 use Imager ':all';
 use Imager::Test qw(diff_text_with_nul is_color3 is_image isnt_image);
 use Imager::Font::T1;
--- a/T1/t/t20oo.t
+++ b/T1/t/t20oo.t
@@ -2,7 +2,7 @@
 use strict;
 use Imager;
 use Imager::Test qw(isnt_image);
-use Test::More tests => 14;
+use Test::More skip_all => 'removed non-DFSG material';
 
 # extracted from t/t36oofont.t
 
