@@ -36,7 +36,7 @@ ok !grep(/\.(?:cpanm|perl-cpm)/, @files), "$image_name: no cpanm|cpm directories
3636my $entrypoint_is_executed ;
3737if (-e ' /docker-entrypoint.sh' && $image_name !~ / chromedriver/ ) {
3838 my $entrypoint_sh = do { open my $fh , ' <' , ' /docker-entrypoint.sh' ; local $/ ; <$fh > };
39- if ($entrypoint_sh =~ / mysql/ && $image_name !~ / (?:fedora23| postgresql)/ ) {
39+ if ($entrypoint_sh =~ / mysql/ && $image_name !~ / (?:postgresql)/ ) {
4040 my $entrypoint = ` /docker-entrypoint.sh` ;
4141 note $entrypoint ;
4242 $entrypoint_is_executed = 1;
@@ -116,7 +116,7 @@ ok $imagemagick_supports{png}, "$image_name: ImageMagick supports PNG";
116116ok $imagemagick_supports {jpeg }, " $image_name : ImageMagick supports JPEG" ;
117117ok $imagemagick_supports {bmp }, " $image_name : ImageMagick supports BMP" ;
118118SKIP: {
119- local $TODO = ' WebP may not be supported' if $image_name =~ / ^(?:amazonlinux|bionic|centos6| centos7|jessie| oracle|stretch|trusty )$ / ;
119+ local $TODO = ' WebP may not be supported' if $image_name =~ / ^(?:amazonlinux|centos7|oracle)$ / ;
120120 ok $imagemagick_supports {webp }, " $image_name : ImageMagick supports WebP" ;
121121}
122122SKIP: {
@@ -131,19 +131,13 @@ ok $graphicsmagick_supports{gif}, "$image_name: GraphicsMagick supports GIF";
131131ok $graphicsmagick_supports {png }, " $image_name : GraphicsMagick supports PNG" ;
132132ok $graphicsmagick_supports {jpeg }, " $image_name : GraphicsMagick supports JPEG" ;
133133ok $graphicsmagick_supports {bmp }, " $image_name : GraphicsMagick supports BMP" ;
134- SKIP: {
135- local $TODO = ' WebP may not be supported' if $image_name =~ / centos6|jessie|trusty/ ;
136- ok $graphicsmagick_supports {webp }, " $image_name : GraphicsMagick supports WebP" ;
137- }
134+ ok $graphicsmagick_supports {webp }, " $image_name : GraphicsMagick supports WebP" ;
138135SKIP: {
139136 local $TODO = ' AVIF may not be supported' ;
140137 ok $graphicsmagick_supports {avif }, " $image_name : GraphicsMagick supports AVIF" ;
141138}
142- SKIP: {
143- local $TODO = ' may be 8' if $image_name =~ / centos6|jessie|trusty/ ;
144- my $graphicsmagick_depth = Graphics::Magick-> new-> Get(' depth' );
145- is $graphicsmagick_depth => ' 16' , " $image_name : GraphicsMagick Quantum Depth: Q$graphicsmagick_depth " ;
146- }
139+ my $graphicsmagick_depth = Graphics::Magick-> new-> Get(' depth' );
140+ is $graphicsmagick_depth => ' 16' , " $image_name : GraphicsMagick Quantum Depth: Q$graphicsmagick_depth " ;
147141my ($has_identify ) = ` which identify` ;
148142ok $has_identify , " has identify" ;
149143my ($has_convert ) = ` which convert` ;
@@ -167,18 +161,12 @@ if ($image_name eq 'postgresql') {
167161 ok $phpinfo =~ / PDO drivers => .*?mysql/ , " $image_name : PHP has PDO mysql driver" ;
168162}
169163ok $phpinfo =~ / GD Support => enabled/ , " $image_name : PHP has GD" ;
170- SKIP: {
171- local $TODO = ' php for CentOS6 does not support DOM/XML' if $image_name =~ / centos6/ ;
172- ok $phpinfo =~ / DOM.XML => enabled/ , " $image_name : PHP has DOM/XML" ;
173- }
164+ ok $phpinfo =~ / DOM.XML => enabled/ , " $image_name : PHP has DOM/XML" ;
174165ok $phpinfo =~ / GIF Read Support => enabled/ , " $image_name : PHP supports GIF read" ;
175166ok $phpinfo =~ / GIF Create Support => enabled/ , " $image_name : PHP supports GIF create" ;
176167ok $phpinfo =~ / JPEG Support => enabled/ , " $image_name : PHP supports JPEG" ;
177168ok $phpinfo =~ / PNG Support => enabled/ , " $image_name : PHP supports PNG" ;
178- SKIP: {
179- local $TODO = ' php for CentOS6 does not support WebP' if $image_name =~ / centos6/ ;
180- ok $phpinfo =~ / WebP Support => enabled/ , " $image_name : PHP supports WebP" ;
181- }
169+ ok $phpinfo =~ / WebP Support => enabled/ , " $image_name : PHP supports WebP" ;
182170SKIP: {
183171 local $TODO = ' Memcache may not be supported' if $image_name =~ / amazonlinux|oracle|centos8/ ;
184172 ok $phpinfo =~ / memcache support => enabled/ , " $image_name : PHP supports memcache" ;
@@ -284,11 +272,8 @@ ok $mailpit, "$image_name: has mailpit $mailpit";
284272
285273my (@icc_profiles ) = (` find /usr/share | grep '.icc\$ '` // ' ' ) =~ / (\w +\. icc)$ /gm ;
286274my $srgb = grep /\bsRGB\.icc$/i, @icc_profiles ;
287- SKIP: {
288- local $TODO = ' CentOS 6 has no icc profile packages' if $image_name =~ / centos6/ ;
289- ok @icc_profiles , " $image_name : has " . join (" ," , @icc_profiles );
290- ok $srgb , " $image_name : has sRGB.icc" ;
291- }
275+ ok @icc_profiles , " $image_name : has " . join (" ," , @icc_profiles );
276+ ok $srgb , " $image_name : has sRGB.icc" ;
292277
293278if ($image_name =~ / oracle/ ) {
294279 my ($sqlplus_version ) = (` sqlplus -v` ) =~ / ^Version (\d +\.\d +)/m ;
0 commit comments