From 344f7f5d47363e3fe0af2e5d87098d7b6a013f18 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Sun, 16 May 2021 19:45:13 +0200 Subject: [PATCH 1/2] Migrate skip checks to --EXTENSIONS-- for ext/gd Cf. PR #6787. --- ext/gd/tests/001-mb.phpt | 2 ++ ext/gd/tests/001.phpt | 2 ++ ext/gd/tests/bug19366.phpt | 6 ++---- ext/gd/tests/bug22544-mb.phpt | 8 ++------ ext/gd/tests/bug22544.phpt | 8 ++------ ext/gd/tests/bug24155.phpt | 5 ++--- ext/gd/tests/bug24594.phpt | 8 ++------ ext/gd/tests/bug27582_1.phpt | 6 ++---- ext/gd/tests/bug28147.phpt | 6 ++---- ext/gd/tests/bug36697-mb.phpt | 8 ++------ ext/gd/tests/bug36697.phpt | 8 ++------ ext/gd/tests/bug37346-mb.phpt | 6 ++---- ext/gd/tests/bug37346.phpt | 6 ++---- ext/gd/tests/bug37360.phpt | 6 ++---- ext/gd/tests/bug38112.phpt | 8 ++------ ext/gd/tests/bug38179.phpt | 6 ++---- ext/gd/tests/bug38212-mb.phpt | 6 ++---- ext/gd/tests/bug38212.phpt | 6 ++---- ext/gd/tests/bug39082.phpt | 8 ++------ ext/gd/tests/bug39273.phpt | 6 ++---- ext/gd/tests/bug39366.phpt | 3 ++- ext/gd/tests/bug39508.phpt | 6 ++---- ext/gd/tests/bug39780.phpt | 3 ++- ext/gd/tests/bug39780_extern.phpt | 3 ++- ext/gd/tests/bug40764.phpt | 6 ++---- ext/gd/tests/bug41442.phpt | 5 ++--- ext/gd/tests/bug42434.phpt | 8 ++------ ext/gd/tests/bug43073.phpt | 3 ++- ext/gd/tests/bug43121.phpt | 3 ++- ext/gd/tests/bug43475.phpt | 3 ++- ext/gd/tests/bug43828.phpt | 3 ++- ext/gd/tests/bug44849.phpt | 6 ++---- ext/gd/tests/bug45799.phpt | 6 ++---- ext/gd/tests/bug47946.phpt | 3 ++- ext/gd/tests/bug48555.phpt | 3 ++- ext/gd/tests/bug48732-mb.phpt | 3 ++- ext/gd/tests/bug48732.phpt | 3 ++- ext/gd/tests/bug48801-mb.phpt | 3 ++- ext/gd/tests/bug48801.phpt | 3 ++- ext/gd/tests/bug49600.phpt | 3 ++- ext/gd/tests/bug50194.phpt | 3 ++- ext/gd/tests/bug51263.phpt | 3 ++- ext/gd/tests/bug51671.phpt | 6 ++---- ext/gd/tests/bug52070.phpt | 6 ++---- ext/gd/tests/bug53154.phpt | 3 ++- ext/gd/tests/bug53156.phpt | 3 ++- ext/gd/tests/bug53504.phpt | 3 ++- ext/gd/tests/bug53640.phpt | 3 ++- ext/gd/tests/bug55005.phpt | 6 ++---- ext/gd/tests/bug60160.phpt | 6 ++---- ext/gd/tests/bug61221.phpt | 6 ++---- ext/gd/tests/bug64641.phpt | 3 ++- ext/gd/tests/bug65148.phpt | 6 ++---- ext/gd/tests/bug66005.phpt | 6 ++---- ext/gd/tests/bug66339-mb.phpt | 6 ++---- ext/gd/tests/bug66339.phpt | 6 ++---- ext/gd/tests/bug66356.phpt | 6 ++---- ext/gd/tests/bug66387.phpt | 3 ++- ext/gd/tests/bug66590.phpt | 3 ++- ext/gd/tests/bug66590_1.phpt | 3 ++- ext/gd/tests/bug66882.phpt | 6 ++---- ext/gd/tests/bug67248.phpt | 3 ++- ext/gd/tests/bug67325.phpt | 3 ++- ext/gd/tests/bug67447.phpt | 8 ++------ ext/gd/tests/bug69024.phpt | 6 ++---- ext/gd/tests/bug70047.phpt | 6 ++---- ext/gd/tests/bug70102.phpt | 3 ++- ext/gd/tests/bug70976.phpt | 6 ++---- ext/gd/tests/bug71912-mb.phpt | 3 ++- ext/gd/tests/bug71912.phpt | 3 ++- ext/gd/tests/bug71952.phpt | 6 ++---- ext/gd/tests/bug72227.phpt | 6 ++---- ext/gd/tests/bug72298.phpt | 6 ++---- ext/gd/tests/bug72337.phpt | 6 ++---- ext/gd/tests/bug72339.phpt | 2 ++ ext/gd/tests/bug72482.phpt | 6 ++---- ext/gd/tests/bug72482_2.phpt | 6 ++---- ext/gd/tests/bug72494.phpt | 6 ++---- ext/gd/tests/bug72512.phpt | 3 ++- ext/gd/tests/bug72512_0.phpt | 3 ++- ext/gd/tests/bug72512_1.phpt | 3 ++- ext/gd/tests/bug72596.phpt | 6 ++---- ext/gd/tests/bug72604.phpt | 6 ++---- ext/gd/tests/bug72696.phpt | 6 ++---- ext/gd/tests/bug72697.phpt | 3 ++- ext/gd/tests/bug72709.phpt | 6 ++---- ext/gd/tests/bug72730.phpt | 6 ++---- ext/gd/tests/bug72913.phpt | 6 ++---- ext/gd/tests/bug73155.phpt | 6 ++---- ext/gd/tests/bug73157.phpt | 6 ++---- ext/gd/tests/bug73159.phpt | 6 ++---- ext/gd/tests/bug73161.phpt | 6 ++---- ext/gd/tests/bug73213.phpt | 6 ++---- ext/gd/tests/bug73272.phpt | 6 ++---- ext/gd/tests/bug73279.phpt | 3 ++- ext/gd/tests/bug73279_old.phpt | 3 ++- ext/gd/tests/bug73281.phpt | 3 ++- ext/gd/tests/bug73291.phpt | 6 ++---- ext/gd/tests/bug73549.phpt | 6 ++---- ext/gd/tests/bug73614.phpt | 3 ++- ext/gd/tests/bug73868.phpt | 6 ++---- ext/gd/tests/bug73869.phpt | 6 ++---- ext/gd/tests/bug73957.phpt | 3 ++- ext/gd/tests/bug73968.phpt | 6 ++---- ext/gd/tests/bug74031.phpt | 6 ++---- ext/gd/tests/bug74435.phpt | 6 ++---- ext/gd/tests/bug75111.phpt | 6 ++---- ext/gd/tests/bug75124.phpt | 3 ++- ext/gd/tests/bug75571.phpt | 6 ++---- ext/gd/tests/bug76041.phpt | 6 ++---- ext/gd/tests/bug77195.phpt | 3 ++- ext/gd/tests/bug77198_auto.phpt | 3 ++- ext/gd/tests/bug77198_threshold.phpt | 3 ++- ext/gd/tests/bug77200.phpt | 3 ++- ext/gd/tests/bug77269.phpt | 3 ++- ext/gd/tests/bug77270.phpt | 3 ++- ext/gd/tests/bug77272.phpt | 3 ++- ext/gd/tests/bug77391.phpt | 3 ++- ext/gd/tests/bug77479.phpt | 3 ++- ext/gd/tests/bug77700.phpt | 6 ++---- ext/gd/tests/bug77943.phpt | 6 ++---- ext/gd/tests/bug77973.phpt | 3 ++- ext/gd/tests/bug79067.phpt | 6 ++---- ext/gd/tests/bug79068.phpt | 6 ++---- ext/gd/tests/bug79615.phpt | 6 ++---- ext/gd/tests/bug79676.phpt | 6 ++---- ext/gd/tests/colorat.phpt | 6 ++---- ext/gd/tests/colorclosest.phpt | 6 ++---- ext/gd/tests/colorexact.phpt | 6 ++---- ext/gd/tests/colormatch.phpt | 6 ++---- ext/gd/tests/colorresolve.phpt | 6 ++---- ext/gd/tests/copy.phpt | 6 ++---- ext/gd/tests/copypalette.phpt | 6 ++---- ext/gd/tests/copyresized.phpt | 6 ++---- ext/gd/tests/crafted_gd2.phpt | 8 ++------ ext/gd/tests/createfromgd2.phpt | 2 ++ ext/gd/tests/createfromstring.phpt | 3 ++- ext/gd/tests/createfromwbmp-mb.phpt | 6 ++---- ext/gd/tests/createfromwbmp.phpt | 6 ++---- ext/gd/tests/createfromwbmp2.phpt | 3 ++- ext/gd/tests/createfromwbmp2_extern.phpt | 3 ++- ext/gd/tests/dashedlines.phpt | 6 ++---- ext/gd/tests/gd_info_basic.phpt | 8 ++------ ext/gd/tests/gd_info_variation1.phpt | 5 ++--- ext/gd/tests/gdimage_prevent_cloning.phpt | 8 ++------ ext/gd/tests/gdimage_prevent_serialization.phpt | 8 ++------ ext/gd/tests/gif.phpt | 5 ++--- ext/gd/tests/gif2gd.phpt | 6 ++---- ext/gd/tests/gif2jpg.phpt | 6 ++---- ext/gd/tests/gif2png.phpt | 6 ++---- ext/gd/tests/github_bug_215.phpt | 3 ++- ext/gd/tests/imageantialias_error2.phpt | 6 ++---- ext/gd/tests/imagearc_basic.phpt | 6 ++---- ext/gd/tests/imagearc_variation1.phpt | 6 ++---- ext/gd/tests/imagearc_variation2.phpt | 6 ++---- ext/gd/tests/imagebmp_basic.phpt | 3 ++- ext/gd/tests/imagebmp_nullbyte_injection.phpt | 3 ++- ext/gd/tests/imagechar_basic.phpt | 6 ++---- ext/gd/tests/imagecharup_basic.phpt | 6 ++---- ext/gd/tests/imagecolorallocate_basic.phpt | 5 ++--- ext/gd/tests/imagecolorallocate_variation5.phpt | 5 ++--- ext/gd/tests/imagecolorallocate_variation6.phpt | 5 ++--- ext/gd/tests/imagecolorallocatealpha_basic.phpt | 3 ++- ext/gd/tests/imagecolorclosesthwb_basic_001.phpt | 8 ++------ ext/gd/tests/imagecolordeallocate_basic.phpt | 6 ++---- ext/gd/tests/imagecolordeallocate_error3.phpt | 6 ++---- ext/gd/tests/imagecolordeallocate_error4.phpt | 6 ++---- ext/gd/tests/imagecolormatch_basic.phpt | 6 ++---- ext/gd/tests/imagecolormatch_error2.phpt | 6 ++---- ext/gd/tests/imagecolormatch_error3.phpt | 6 ++---- ext/gd/tests/imagecolormatch_error4.phpt | 6 ++---- ext/gd/tests/imagecolorset_basic.phpt | 8 ++------ ext/gd/tests/imagecolorstotal_basic.phpt | 6 ++---- ext/gd/tests/imagecolourstotal_basic.phpt | 5 ++--- ext/gd/tests/imageconvolution_basic.phpt | 6 ++---- ext/gd/tests/imageconvolution_error2.phpt | 6 ++---- ext/gd/tests/imageconvolution_error3.phpt | 6 ++---- ext/gd/tests/imagecopymerge_basic.phpt | 6 ++---- ext/gd/tests/imagecopymergegray_basic.phpt | 6 ++---- ext/gd/tests/imagecopyresampled_basic.phpt | 6 ++---- ext/gd/tests/imagecopyresampled_variation1.phpt | 6 ++---- ext/gd/tests/imagecreate_error.phpt | 3 ++- ext/gd/tests/imagecreatefrombmp_basic.phpt | 3 ++- ext/gd/tests/imagecreatefromstring_bmp.phpt | 3 ++- ext/gd/tests/imagecreatefromstring_gif.phpt | 3 ++- ext/gd/tests/imagecreatefromstring_png.phpt | 3 ++- ext/gd/tests/imagecreatefromstring_webp.phpt | 3 ++- ext/gd/tests/imagecreatefromtga_basic.phpt | 3 ++- ext/gd/tests/imagecreatefromtga_variation.phpt | 3 ++- ext/gd/tests/imagecreatetruecolor_basic.phpt | 3 ++- ext/gd/tests/imagecreatetruecolor_error2.phpt | 3 ++- ext/gd/tests/imagecrop_auto.phpt | 4 +++- ext/gd/tests/imagedashedline_basic.phpt | 2 ++ ext/gd/tests/imageellipse_basic.phpt | 6 ++---- ext/gd/tests/imagefill_1.phpt | 5 ++--- ext/gd/tests/imagefilledarc_basic.phpt | 3 ++- ext/gd/tests/imagefilledarc_variation1.phpt | 3 ++- ext/gd/tests/imagefilledarc_variation2.phpt | 3 ++- ext/gd/tests/imagefilledellipse_basic.phpt | 6 ++---- ext/gd/tests/imagefilledpolygon_basic.phpt | 2 ++ ext/gd/tests/imagefilltoborder_basic.phpt | 6 ++---- ext/gd/tests/imagefilter.phpt | 5 ++--- ext/gd/tests/imagefilter_error1.phpt | 6 ++---- ext/gd/tests/imagefilter_error13.phpt | 6 ++---- ext/gd/tests/imageflip.phpt | 4 +++- ext/gd/tests/imagefontheight_basic.phpt | 6 ++---- ext/gd/tests/imagefontwidth_basic.phpt | 6 ++---- ext/gd/tests/imagefttext.phpt | 5 ++--- ext/gd/tests/imagegammacorrect_basic.phpt | 3 ++- ext/gd/tests/imagegammacorrect_variation1.phpt | 3 ++- ext/gd/tests/imagegammacorrect_variation2.phpt | 6 ++---- ext/gd/tests/imagegd2_nullbyte_injection.phpt | 6 ++---- ext/gd/tests/imagegd_nullbyte_injection.phpt | 6 ++---- ext/gd/tests/imagegd_truecolor.phpt | 6 ++---- ext/gd/tests/imagegetclip_basic.phpt | 6 ++---- ext/gd/tests/imagegif_nullbyte_injection.phpt | 6 ++---- ext/gd/tests/imageinterlace_basic.phpt | 6 ++---- ext/gd/tests/imageinterlace_variation1.phpt | 6 ++---- ext/gd/tests/imageinterlace_variation2.phpt | 6 ++---- ext/gd/tests/imageinterpolation_basic.phpt | 6 ++---- ext/gd/tests/imageistruecolor_basic.phpt | 3 ++- ext/gd/tests/imagejpeg_nullbyte_injection.phpt | 3 ++- ext/gd/tests/imagelayereffect_basic.phpt | 3 ++- .../imageloadfont_end_of_file_while_reading_header.phpt | 6 ++---- ext/gd/tests/imageloadfont_error2.phpt | 6 ++---- ext/gd/tests/imageloadfont_invalid.phpt | 6 ++---- ext/gd/tests/imageopenpolygon_basic.phpt | 6 ++---- ext/gd/tests/imagepalettetotruecolor_basic.phpt | 6 ++---- ext/gd/tests/imagepng_nullbyte_injection.phpt | 3 ++- ext/gd/tests/imagepolygon_aa.phpt | 6 ++---- ext/gd/tests/imagepolygon_basic.phpt | 2 ++ ext/gd/tests/imagerectangle_basic.phpt | 6 ++---- ext/gd/tests/imageresolution_jpeg.phpt | 3 ++- ext/gd/tests/imageresolution_png.phpt | 6 ++---- ext/gd/tests/imagerotate_overflow.phpt | 6 ++---- ext/gd/tests/imagescale_preserve_ratio.phpt | 6 ++---- ext/gd/tests/imagesetbrush_basic.phpt | 8 ++------ ext/gd/tests/imagesetclip_basic.phpt | 6 ++---- ext/gd/tests/imagesetthickness_basic.phpt | 3 ++- ext/gd/tests/imagestring_basic.phpt | 6 ++---- ext/gd/tests/imagestringup_basic.phpt | 6 ++---- ext/gd/tests/imagetruecolortopalette_basic.phpt | 3 ++- ext/gd/tests/imagetruecolortopalette_error3.phpt | 3 ++- ext/gd/tests/imagetruecolortopalette_error4.phpt | 3 ++- ext/gd/tests/imagettftext_charmap_order.phpt | 3 ++- ext/gd/tests/imagetypes_bmp.phpt | 6 ++---- ext/gd/tests/imagetypes_tga.phpt | 6 ++---- ext/gd/tests/imagewbmp-mb.phpt | 6 ++---- ext/gd/tests/imagewbmp.phpt | 6 ++---- ext/gd/tests/imagewbmp_nullbyte_injection.phpt | 3 ++- ext/gd/tests/imagewebp_nullbyte_injection.phpt | 3 ++- ext/gd/tests/imagexbm_nullbyte_injection.phpt | 6 ++---- ext/gd/tests/jpeg2png.phpt | 6 ++---- ext/gd/tests/jpg2gd-mb.phpt | 6 ++---- ext/gd/tests/jpg2gd.phpt | 6 ++---- ext/gd/tests/libgd00086.phpt | 3 ++- ext/gd/tests/libgd00086_extern.phpt | 3 ++- ext/gd/tests/libgd00094-mb.phpt | 3 ++- ext/gd/tests/libgd00094.phpt | 3 ++- ext/gd/tests/libgd00100.phpt | 3 ++- ext/gd/tests/libgd00101.phpt | 3 ++- ext/gd/tests/libgd00106.phpt | 6 ++---- ext/gd/tests/libgd00186.phpt | 6 ++---- ext/gd/tests/libgd00191.phpt | 3 ++- ext/gd/tests/lines.phpt | 6 ++---- ext/gd/tests/png2gd.phpt | 6 ++---- ext/gd/tests/pngcomp.phpt | 6 ++---- ext/gd/tests/test_image_equals_file_palette.phpt | 6 ++---- ext/gd/tests/types.phpt | 6 ++---- ext/gd/tests/webp_basic.phpt | 3 ++- ext/gd/tests/xbm2png.phpt | 5 ++--- ext/gd/tests/xpm2gd.phpt | 6 ++---- ext/gd/tests/xpm2jpg.phpt | 6 ++---- ext/gd/tests/xpm2png.phpt | 6 ++---- 274 files changed, 550 insertions(+), 809 deletions(-) diff --git a/ext/gd/tests/001-mb.phpt b/ext/gd/tests/001-mb.phpt index 38bf14a3cb808..3093a59783d65 100644 --- a/ext/gd/tests/001-mb.phpt +++ b/ext/gd/tests/001-mb.phpt @@ -1,5 +1,7 @@ --TEST-- imagecreatefrompng() and empty/missing file +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/001.phpt b/ext/gd/tests/001.phpt index d741e1f50618d..7c2fcf3652312 100644 --- a/ext/gd/tests/001.phpt +++ b/ext/gd/tests/001.phpt @@ -1,5 +1,7 @@ --TEST-- imagecreatefrompng() and empty/missing file +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/bug19366.phpt b/ext/gd/tests/bug19366.phpt index c6c3ed08ce3ad..7fae0be5d7e0c 100644 --- a/ext/gd/tests/bug19366.phpt +++ b/ext/gd/tests/bug19366.phpt @@ -1,9 +1,7 @@ --TEST-- Bug #19366 (gdimagefill() function crashes (fixed in bundled libgd)) ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- --FILE-- diff --git a/ext/gd/tests/bug24594.phpt b/ext/gd/tests/bug24594.phpt index 4c91c6fe14639..910a14b34b8c1 100644 --- a/ext/gd/tests/bug24594.phpt +++ b/ext/gd/tests/bug24594.phpt @@ -1,11 +1,7 @@ --TEST-- Bug #24594 (Filling an area using tiles). ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- 45) +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/bug39508.phpt b/ext/gd/tests/bug39508.phpt index 6bfd83614fe42..e7d53b4bc3285 100644 --- a/ext/gd/tests/bug39508.phpt +++ b/ext/gd/tests/bug39508.phpt @@ -1,9 +1,7 @@ --TEST-- Bug #39508 (imagefill crashes with small images 3 pixels or less) ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- --FILE-- diff --git a/ext/gd/tests/bug39780_extern.phpt b/ext/gd/tests/bug39780_extern.phpt index 52c64534dc427..5409103b516dd 100644 --- a/ext/gd/tests/bug39780_extern.phpt +++ b/ext/gd/tests/bug39780_extern.phpt @@ -1,8 +1,9 @@ --TEST-- Bug #39780 (PNG image with CRC/data error raises a fatal error) +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/bug40764.phpt b/ext/gd/tests/bug40764.phpt index 8a673207b60cd..761bf71c5b27b 100644 --- a/ext/gd/tests/bug40764.phpt +++ b/ext/gd/tests/bug40764.phpt @@ -1,9 +1,7 @@ --TEST-- Bug #40764 (line thickness not respected for horizontal and vertical lines) ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- 0) +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/bug43121.phpt b/ext/gd/tests/bug43121.phpt index 38668fdfbbcd6..21550a03c88d4 100644 --- a/ext/gd/tests/bug43121.phpt +++ b/ext/gd/tests/bug43121.phpt @@ -1,8 +1,9 @@ --TEST-- Bug #43121 (gdImageFill with IMG_COLOR_TILED crashes httpd) +--EXTENSIONS-- +gd --SKIPIF-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- --FILE-- diff --git a/ext/gd/tests/bug48555.phpt b/ext/gd/tests/bug48555.phpt index 68c533d75a987..37158812cb8c1 100644 --- a/ext/gd/tests/bug48555.phpt +++ b/ext/gd/tests/bug48555.phpt @@ -1,8 +1,9 @@ --TEST-- Bug #48555 (ImageFTBBox() differs from previous versions for texts with new lines) +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/bug48732-mb.phpt b/ext/gd/tests/bug48732-mb.phpt index 8f27d28086433..13a881254c203 100644 --- a/ext/gd/tests/bug48732-mb.phpt +++ b/ext/gd/tests/bug48732-mb.phpt @@ -1,8 +1,9 @@ --TEST-- Bug #48732 (TTF Bounding box wrong for letters below baseline) +--EXTENSIONS-- +gd --SKIPIF-- diff --git a/ext/gd/tests/bug48732.phpt b/ext/gd/tests/bug48732.phpt index 323690e2a0919..44e4204503ef7 100644 --- a/ext/gd/tests/bug48732.phpt +++ b/ext/gd/tests/bug48732.phpt @@ -1,8 +1,9 @@ --TEST-- Bug #48732 (TTF Bounding box wrong for letters below baseline) +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/bug48801-mb.phpt b/ext/gd/tests/bug48801-mb.phpt index 435af2d3904ee..247161518b194 100644 --- a/ext/gd/tests/bug48801-mb.phpt +++ b/ext/gd/tests/bug48801-mb.phpt @@ -1,8 +1,9 @@ --TEST-- Bug #48801 (Problem with imagettfbbox) +--EXTENSIONS-- +gd --SKIPIF-- diff --git a/ext/gd/tests/bug48801.phpt b/ext/gd/tests/bug48801.phpt index 0975d7d774517..361bf59a65b9f 100644 --- a/ext/gd/tests/bug48801.phpt +++ b/ext/gd/tests/bug48801.phpt @@ -1,8 +1,9 @@ --TEST-- Bug #48801 (Problem with imagettfbbox) +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/bug49600.phpt b/ext/gd/tests/bug49600.phpt index 3817391765cf7..f047bd7cc8753 100644 --- a/ext/gd/tests/bug49600.phpt +++ b/ext/gd/tests/bug49600.phpt @@ -1,8 +1,9 @@ --TEST-- Bug #49600 (imageTTFText text shifted right) +--EXTENSIONS-- +gd --SKIPIF-- diff --git a/ext/gd/tests/bug50194.phpt b/ext/gd/tests/bug50194.phpt index 2815ee1609c8b..2addfe0e8325d 100644 --- a/ext/gd/tests/bug50194.phpt +++ b/ext/gd/tests/bug50194.phpt @@ -1,8 +1,9 @@ --TEST-- Bug #50194 (imagettftext broken on transparent background w/o alphablending) +--EXTENSIONS-- +gd --SKIPIF-- diff --git a/ext/gd/tests/bug51263.phpt b/ext/gd/tests/bug51263.phpt index 04d827709465e..7aef8381c4a37 100644 --- a/ext/gd/tests/bug51263.phpt +++ b/ext/gd/tests/bug51263.phpt @@ -1,8 +1,9 @@ --TEST-- Bug #51263 (imagettftext and rotated text uses wrong baseline) +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/bug51671.phpt b/ext/gd/tests/bug51671.phpt index 1520e84f35e32..266832f057360 100644 --- a/ext/gd/tests/bug51671.phpt +++ b/ext/gd/tests/bug51671.phpt @@ -1,9 +1,7 @@ --TEST-- Bug #51671 (imagefill does not work correctly for small images) ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- --FILE-- diff --git a/ext/gd/tests/bug53640.phpt b/ext/gd/tests/bug53640.phpt index 7e8217c27fc69..c5d009826b6cb 100644 --- a/ext/gd/tests/bug53640.phpt +++ b/ext/gd/tests/bug53640.phpt @@ -1,8 +1,9 @@ --TEST-- Bug #53640 (XBM images require width to be multiple of 8) +--EXTENSIONS-- +gd --SKIPIF-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- --FILE-- diff --git a/ext/gd/tests/bug66882.phpt b/ext/gd/tests/bug66882.phpt index 6dfbdfe06de9a..11e606e2d2290 100644 --- a/ext/gd/tests/bug66882.phpt +++ b/ext/gd/tests/bug66882.phpt @@ -1,9 +1,7 @@ --TEST-- Bug #66882 (imagerotate by -90 degrees truncates image by 1px) ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- --FILE-- diff --git a/ext/gd/tests/bug67325.phpt b/ext/gd/tests/bug67325.phpt index fe369ee949a74..b1e84242a4a3b 100644 --- a/ext/gd/tests/bug67325.phpt +++ b/ext/gd/tests/bug67325.phpt @@ -1,8 +1,9 @@ --TEST-- Bug #67325 (imagetruecolortopalette: white is duplicated in palette) +--EXTENSIONS-- +gd --SKIPIF-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- --FILE-- diff --git a/ext/gd/tests/bug71912.phpt b/ext/gd/tests/bug71912.phpt index 30bde45d214c5..b006cdc3cc4a1 100644 --- a/ext/gd/tests/bug71912.phpt +++ b/ext/gd/tests/bug71912.phpt @@ -1,8 +1,9 @@ --TEST-- Bug #71912 (libgd: signedness vulnerability) +--EXTENSIONS-- +gd --SKIPIF-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- --FILE-- diff --git a/ext/gd/tests/bug72709.phpt b/ext/gd/tests/bug72709.phpt index 8915e4f57b693..7ea80df9a78e4 100644 --- a/ext/gd/tests/bug72709.phpt +++ b/ext/gd/tests/bug72709.phpt @@ -1,9 +1,7 @@ --TEST-- Bug #72709 (imagesetstyle() causes OOB read for empty $styles) ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- = 2.2.4'); } diff --git a/ext/gd/tests/bug73279_old.phpt b/ext/gd/tests/bug73279_old.phpt index 1db9861b0c49f..9d0a430e86513 100644 --- a/ext/gd/tests/bug73279_old.phpt +++ b/ext/gd/tests/bug73279_old.phpt @@ -1,8 +1,9 @@ --TEST-- Bug #73279 (Integer overflow in gdImageScaleBilinearPalette()) +--EXTENSIONS-- +gd --SKIPIF-- =')) { die('skip only for external libgd < 2.2.4'); } diff --git a/ext/gd/tests/bug73281.phpt b/ext/gd/tests/bug73281.phpt index 81bb2d2d284b1..99101ada24e6d 100644 --- a/ext/gd/tests/bug73281.phpt +++ b/ext/gd/tests/bug73281.phpt @@ -1,8 +1,9 @@ --TEST-- Bug #73281 (imagescale(…, IMG_BILINEAR_FIXED) can cause black border) +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/bug73291.phpt b/ext/gd/tests/bug73291.phpt index a3fd5b3c10138..e23b1fc7d17ab 100644 --- a/ext/gd/tests/bug73291.phpt +++ b/ext/gd/tests/bug73291.phpt @@ -1,9 +1,7 @@ --TEST-- Bug #73291 (imagecropauto() $threshold differs from external libgd) ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- --FILE-- diff --git a/ext/gd/tests/bug73868.phpt b/ext/gd/tests/bug73868.phpt index ed59ac7be3068..1d166b4037957 100644 --- a/ext/gd/tests/bug73868.phpt +++ b/ext/gd/tests/bug73868.phpt @@ -1,9 +1,7 @@ --TEST-- Bug 73868 (DOS vulnerability in gdImageCreateFromGd2Ctx()) ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- --FILE-- diff --git a/ext/gd/tests/bug73968.phpt b/ext/gd/tests/bug73968.phpt index c1101c61bf06a..4c50c97173d0c 100644 --- a/ext/gd/tests/bug73968.phpt +++ b/ext/gd/tests/bug73968.phpt @@ -1,9 +1,7 @@ --TEST-- Bug #73968 (Premature failing of XBM reading) ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- = 2.2.5'); } diff --git a/ext/gd/tests/bug75571.phpt b/ext/gd/tests/bug75571.phpt index 898f1ecbad5c3..7c19b31266900 100644 --- a/ext/gd/tests/bug75571.phpt +++ b/ext/gd/tests/bug75571.phpt @@ -1,9 +1,7 @@ --TEST-- Bug #75571 (Infinite loop in GIF reading causing DoS) ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- --FILE-- diff --git a/ext/gd/tests/bug77198_auto.phpt b/ext/gd/tests/bug77198_auto.phpt index b010f97483906..9df67d7f2ff6b 100644 --- a/ext/gd/tests/bug77198_auto.phpt +++ b/ext/gd/tests/bug77198_auto.phpt @@ -1,8 +1,9 @@ --TEST-- Bug #77198 (auto cropping has insufficient precision) +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/bug77198_threshold.phpt b/ext/gd/tests/bug77198_threshold.phpt index a7135ee07ee78..e164286afca5f 100644 --- a/ext/gd/tests/bug77198_threshold.phpt +++ b/ext/gd/tests/bug77198_threshold.phpt @@ -1,8 +1,9 @@ --TEST-- Bug #77198 (threshold cropping has insufficient precision) +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/bug77200.phpt b/ext/gd/tests/bug77200.phpt index b67376067121e..de98da00ef847 100644 --- a/ext/gd/tests/bug77200.phpt +++ b/ext/gd/tests/bug77200.phpt @@ -1,8 +1,9 @@ --TEST-- Bug #77200 (imagecropauto(…, GD_CROP_SIDES) crops left but not right) +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/bug77269.phpt b/ext/gd/tests/bug77269.phpt index 2bd5758e1a903..5d1f73a8bf005 100644 --- a/ext/gd/tests/bug77269.phpt +++ b/ext/gd/tests/bug77269.phpt @@ -1,8 +1,9 @@ --TEST-- Bug #77269 (Potential unsigned underflow in gdImageScale) +--EXTENSIONS-- +gd --SKIPIF-- --INI-- diff --git a/ext/gd/tests/bug77270.phpt b/ext/gd/tests/bug77270.phpt index 2250fefd206e6..33246880c53d7 100644 --- a/ext/gd/tests/bug77270.phpt +++ b/ext/gd/tests/bug77270.phpt @@ -2,9 +2,10 @@ Bug #77270 (imagecolormatch Out Of Bounds Write on Heap) --INI-- memory_limit=-1 +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/bug77272.phpt b/ext/gd/tests/bug77272.phpt index 678333f06c0eb..4de532a5c7b3e 100644 --- a/ext/gd/tests/bug77272.phpt +++ b/ext/gd/tests/bug77272.phpt @@ -2,9 +2,10 @@ Bug #77272 (imagescale() may return image resource on failure) --INI-- memory_limit=-1 +--EXTENSIONS-- +gd --SKIPIF-- diff --git a/ext/gd/tests/bug77391.phpt b/ext/gd/tests/bug77391.phpt index fbfa8a8026ebd..6f07ce57da1a5 100644 --- a/ext/gd/tests/bug77391.phpt +++ b/ext/gd/tests/bug77391.phpt @@ -1,8 +1,9 @@ --TEST-- Bug #77391 (1bpp BMPs may fail to be loaded) +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/bug77479.phpt b/ext/gd/tests/bug77479.phpt index e57da564392d1..332b2210715cc 100644 --- a/ext/gd/tests/bug77479.phpt +++ b/ext/gd/tests/bug77479.phpt @@ -1,8 +1,9 @@ --TEST-- Bug #77479 (imagewbmp() segfaults with very large image) +--EXTENSIONS-- +gd --SKIPIF-- --INI-- diff --git a/ext/gd/tests/bug77700.phpt b/ext/gd/tests/bug77700.phpt index a14a2259ebc6d..5faf34f5ef62a 100644 --- a/ext/gd/tests/bug77700.phpt +++ b/ext/gd/tests/bug77700.phpt @@ -1,9 +1,7 @@ --TEST-- Bug #77700 (Writing truecolor images as GIF ignores interlace flag) ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- --FILE-- diff --git a/ext/gd/tests/bug79067.phpt b/ext/gd/tests/bug79067.phpt index 1442b7fb56466..adea631b84bd9 100644 --- a/ext/gd/tests/bug79067.phpt +++ b/ext/gd/tests/bug79067.phpt @@ -1,9 +1,7 @@ --TEST-- Bug #79067 (gdTransformAffineCopy() may use unitialized values) ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- --FILE-- diff --git a/ext/gd/tests/createfromwbmp-mb.phpt b/ext/gd/tests/createfromwbmp-mb.phpt index f9dc9fe8bf253..5fef2820fd341 100644 --- a/ext/gd/tests/createfromwbmp-mb.phpt +++ b/ext/gd/tests/createfromwbmp-mb.phpt @@ -1,9 +1,7 @@ --TEST-- imagecreatefromwbmp ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- --FILE-- diff --git a/ext/gd/tests/createfromwbmp2_extern.phpt b/ext/gd/tests/createfromwbmp2_extern.phpt index b426816f5b224..e3dfcfc7bbdfc 100644 --- a/ext/gd/tests/createfromwbmp2_extern.phpt +++ b/ext/gd/tests/createfromwbmp2_extern.phpt @@ -1,8 +1,9 @@ --TEST-- imagecreatefromwbmp with invalid wbmp +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/dashedlines.phpt b/ext/gd/tests/dashedlines.phpt index bcf17174ccb12..11b2e83fad46a 100644 --- a/ext/gd/tests/dashedlines.phpt +++ b/ext/gd/tests/dashedlines.phpt @@ -1,9 +1,7 @@ --TEST-- imageline, dashed ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- gd1/gd2 conversion test +--EXTENSIONS-- +gd --SKIPIF-- jpeg conversion test +--EXTENSIONS-- +gd --SKIPIF-- png conversion test +--EXTENSIONS-- +gd --SKIPIF-- #testfest PHPSP on 2009-06-20 ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- #testfest PHPSP on 2009-06-20 ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- #testfest PHPSP on 2009-06-20 ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- #testfest PHPSP on 2009-06-20 ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- --FILE-- diff --git a/ext/gd/tests/imagebmp_nullbyte_injection.phpt b/ext/gd/tests/imagebmp_nullbyte_injection.phpt index 979bf86bcae14..81a3e40d7c27f 100644 --- a/ext/gd/tests/imagebmp_nullbyte_injection.phpt +++ b/ext/gd/tests/imagebmp_nullbyte_injection.phpt @@ -1,8 +1,9 @@ --TEST-- Testing null byte injection in imagebmp +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/imagechar_basic.phpt b/ext/gd/tests/imagechar_basic.phpt index 54b8c6df8ec49..3195eb82d4d4f 100644 --- a/ext/gd/tests/imagechar_basic.phpt +++ b/ext/gd/tests/imagechar_basic.phpt @@ -3,10 +3,8 @@ Testing imagechar() of GD library --CREDITS-- Rafael Dohms #testfest PHPSP on 2009-06-20 ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- #testfest PHPSP on 2009-06-20 ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --SKIPIF-- +--EXTENSIONS-- +gd --FILE-- #testfest PHPSP on 2009-06-20 ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- #testfest PHPSP on 2009-06-20 ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- #testfest PHPSP on 2009-06-20 ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- #testfest PHPSP on 2009-06-20 ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- #testfest PHPSP on 2009-06-20 ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- #testfest PHPSP on 2009-06-20 ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- #testfest PHPSP on 2009-06-20 ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- #testfest PHPSP on 2009-06-20 ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --SKIPIF-- #testfest PHPSP on 2009-06-20 ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- #testfest PHPSP on 2009-06-20 ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- #testfest PHPSP on 2009-06-20 ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- Updated by Sean Fraaser PHP[tek] 2017 ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- PHP[tek] 2017 ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- --FILE-- diff --git a/ext/gd/tests/imagecreatefrombmp_basic.phpt b/ext/gd/tests/imagecreatefrombmp_basic.phpt index 9cf6bd2ca3077..51eb22c71adf0 100644 --- a/ext/gd/tests/imagecreatefrombmp_basic.phpt +++ b/ext/gd/tests/imagecreatefrombmp_basic.phpt @@ -1,8 +1,9 @@ --TEST-- imagecreatefrombmp() - basic functionality +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/imagecreatefromstring_bmp.phpt b/ext/gd/tests/imagecreatefromstring_bmp.phpt index 14d7aabeded6e..8f9e1dd675b91 100644 --- a/ext/gd/tests/imagecreatefromstring_bmp.phpt +++ b/ext/gd/tests/imagecreatefromstring_bmp.phpt @@ -1,8 +1,9 @@ --TEST-- imagecreatefromstring() - BMP format +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/imagecreatefromstring_gif.phpt b/ext/gd/tests/imagecreatefromstring_gif.phpt index 66f91c1aff2a9..cfd8d3ef4f09c 100644 --- a/ext/gd/tests/imagecreatefromstring_gif.phpt +++ b/ext/gd/tests/imagecreatefromstring_gif.phpt @@ -1,8 +1,9 @@ --TEST-- imagecreatefromstring() - GIF format +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/imagecreatefromstring_png.phpt b/ext/gd/tests/imagecreatefromstring_png.phpt index b76f1a181a6eb..f1918506813b2 100644 --- a/ext/gd/tests/imagecreatefromstring_png.phpt +++ b/ext/gd/tests/imagecreatefromstring_png.phpt @@ -1,8 +1,9 @@ --TEST-- imagecreatefromstring() - PNG format +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/imagecreatefromstring_webp.phpt b/ext/gd/tests/imagecreatefromstring_webp.phpt index e60be0499a7dc..83c2b034872fe 100644 --- a/ext/gd/tests/imagecreatefromstring_webp.phpt +++ b/ext/gd/tests/imagecreatefromstring_webp.phpt @@ -1,8 +1,9 @@ --TEST-- imagecreatefromstring() - WEBP format +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/imagecreatefromtga_basic.phpt b/ext/gd/tests/imagecreatefromtga_basic.phpt index 3025e522d53e7..25f034878b0c6 100644 --- a/ext/gd/tests/imagecreatefromtga_basic.phpt +++ b/ext/gd/tests/imagecreatefromtga_basic.phpt @@ -1,8 +1,9 @@ --TEST-- imagecreatefromtga() - basic functionality +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/imagecreatefromtga_variation.phpt b/ext/gd/tests/imagecreatefromtga_variation.phpt index 39dd4b0b59876..0948f978f2f6a 100644 --- a/ext/gd/tests/imagecreatefromtga_variation.phpt +++ b/ext/gd/tests/imagecreatefromtga_variation.phpt @@ -1,8 +1,9 @@ --TEST-- imagecreatefromtga() - RLE file reading +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/imagecreatetruecolor_basic.phpt b/ext/gd/tests/imagecreatetruecolor_basic.phpt index bb29eb6b1cb25..5af8a0a1a32bc 100644 --- a/ext/gd/tests/imagecreatetruecolor_basic.phpt +++ b/ext/gd/tests/imagecreatetruecolor_basic.phpt @@ -2,9 +2,10 @@ Testing imagecreatetruecolor() of GD library --CREDITS-- Rafael Dohms +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/imagecreatetruecolor_error2.phpt b/ext/gd/tests/imagecreatetruecolor_error2.phpt index d0e4933e7aeb2..0d299d3c11bb4 100644 --- a/ext/gd/tests/imagecreatetruecolor_error2.phpt +++ b/ext/gd/tests/imagecreatetruecolor_error2.phpt @@ -2,9 +2,10 @@ Testing imagecreatetruecolor(): error on out of bound parameters --CREDITS-- Rafael Dohms +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/imagecrop_auto.phpt b/ext/gd/tests/imagecrop_auto.phpt index 97cac3da01dee..5d3d50b3ef317 100644 --- a/ext/gd/tests/imagecrop_auto.phpt +++ b/ext/gd/tests/imagecrop_auto.phpt @@ -1,8 +1,10 @@ --TEST-- Testing imagecropauto() +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- #testfest PHPSP on 2009-06-20 ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- #testfest PHPSP on 2009-06-20 +--EXTENSIONS-- +gd --SKIPIF-- #testfest PHPSP on 2009-06-20 +--EXTENSIONS-- +gd --SKIPIF-- #testfest PHPSP on 2009-06-20 +--EXTENSIONS-- +gd --SKIPIF-- +--EXTENSIONS-- +gd --FILE-- #testfest PHPSP on 2009-06-30 ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- --FILE-- diff --git a/ext/gd/tests/imagefilter_error1.phpt b/ext/gd/tests/imagefilter_error1.phpt index 407944d899fb1..6e2ccabb874a8 100644 --- a/ext/gd/tests/imagefilter_error1.phpt +++ b/ext/gd/tests/imagefilter_error1.phpt @@ -3,10 +3,8 @@ Testing wrong parameter passing in imagefilter() of GD library --CREDITS-- Guilherme Blanco #testfest PHPSP on 2009-06-20 ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- #testfest PHPSP on 2009-06-20 ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- --FILE-- #testfest PHPSP on 2009-06-20 ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- #testfest PHPSP on 2009-06-20 ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- #testfest PHPSP on 2009-06-20 +--EXTENSIONS-- +gd --SKIPIF-- #testfest PHPSP on 2009-06-20 +--EXTENSIONS-- +gd --SKIPIF-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- #testfest PHPSP on 2009-06-20 ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- #testfest PHPSP on 2009-06-20 ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- #testfest PHPSP on 2009-06-20 ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/imagejpeg_nullbyte_injection.phpt b/ext/gd/tests/imagejpeg_nullbyte_injection.phpt index 0473712274fbd..6863626a0c939 100644 --- a/ext/gd/tests/imagejpeg_nullbyte_injection.phpt +++ b/ext/gd/tests/imagejpeg_nullbyte_injection.phpt @@ -1,8 +1,9 @@ --TEST-- Testing null byte injection in imagejpeg +--EXTENSIONS-- +gd --SKIPIF-- #testfest PHPSP on 2009-06-20 +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/imageloadfont_end_of_file_while_reading_header.phpt b/ext/gd/tests/imageloadfont_end_of_file_while_reading_header.phpt index 18f806d5b004f..e033fa42451fd 100644 --- a/ext/gd/tests/imageloadfont_end_of_file_while_reading_header.phpt +++ b/ext/gd/tests/imageloadfont_end_of_file_while_reading_header.phpt @@ -3,10 +3,8 @@ imageloadfont() "End of file while reading header" --CREDITS-- Ike Devolder User Group: PHP-WVL & PHPGent #PHPTestFest ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- #testfest #tek11 ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- #testfest PHPSP on 2009-06-30 ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- --FILE-- diff --git a/ext/gd/tests/imageresolution_png.phpt b/ext/gd/tests/imageresolution_png.phpt index 5ff3d8ae9e876..a72f351a156bf 100644 --- a/ext/gd/tests/imageresolution_png.phpt +++ b/ext/gd/tests/imageresolution_png.phpt @@ -1,9 +1,7 @@ --TEST-- Set and get image resolution of PNG images ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- #testfest PHPSP on 2009-06-20 ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/imagestring_basic.phpt b/ext/gd/tests/imagestring_basic.phpt index 0e418a69dd0b5..1a71ba173c820 100644 --- a/ext/gd/tests/imagestring_basic.phpt +++ b/ext/gd/tests/imagestring_basic.phpt @@ -3,10 +3,8 @@ Testing imagestring() of GD library --CREDITS-- Rafael Dohms #testfest PHPSP on 2009-06-20 ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- #testfest PHPSP on 2009-06-20 ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --SKIPIF-- +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/imagetruecolortopalette_error4.phpt b/ext/gd/tests/imagetruecolortopalette_error4.phpt index 1d539cd4abaa5..d1e8cffc39d3b 100644 --- a/ext/gd/tests/imagetruecolortopalette_error4.phpt +++ b/ext/gd/tests/imagetruecolortopalette_error4.phpt @@ -2,9 +2,10 @@ Testing imagetruecolortopalette(): out of range parameter 3 --CREDITS-- Rafael Dohms +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/imagettftext_charmap_order.phpt b/ext/gd/tests/imagettftext_charmap_order.phpt index 36d2449fb18c6..32d5c9d0d7e47 100644 --- a/ext/gd/tests/imagettftext_charmap_order.phpt +++ b/ext/gd/tests/imagettftext_charmap_order.phpt @@ -1,8 +1,9 @@ --TEST-- Font charmap order is deterministic based on order in the font, use the selected encoding +--EXTENSIONS-- +gd --SKIPIF-- diff --git a/ext/gd/tests/imagetypes_bmp.phpt b/ext/gd/tests/imagetypes_bmp.phpt index 8a92dda28f0e9..b1981f7e5b0f5 100644 --- a/ext/gd/tests/imagetypes_bmp.phpt +++ b/ext/gd/tests/imagetypes_bmp.phpt @@ -1,9 +1,7 @@ --TEST-- imagetypes() - BMP support ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- png conversion test +--EXTENSIONS-- +gd --SKIPIF-- gd1/gd2 conversion test +--EXTENSIONS-- +gd --SKIPIF-- gd1/gd2 conversion test +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/libgd00086_extern.phpt b/ext/gd/tests/libgd00086_extern.phpt index 1cdb28fee8623..707b910f8c172 100644 --- a/ext/gd/tests/libgd00086_extern.phpt +++ b/ext/gd/tests/libgd00086_extern.phpt @@ -1,8 +1,9 @@ --TEST-- libgd #86 (Possible infinite loop in imagecreatefrompng) +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/libgd00094-mb.phpt b/ext/gd/tests/libgd00094-mb.phpt index ca313893d52cc..63c91389088c5 100644 --- a/ext/gd/tests/libgd00094-mb.phpt +++ b/ext/gd/tests/libgd00094-mb.phpt @@ -1,8 +1,9 @@ --TEST-- libgd #94 (imagecreatefromxbm can crash if gdImageCreate fails) +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/libgd00094.phpt b/ext/gd/tests/libgd00094.phpt index f9cbeec871916..16a914c25777e 100644 --- a/ext/gd/tests/libgd00094.phpt +++ b/ext/gd/tests/libgd00094.phpt @@ -1,8 +1,9 @@ --TEST-- libgd #94 (imagecreatefromxbm can crash if gdImageCreate fails) +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/libgd00100.phpt b/ext/gd/tests/libgd00100.phpt index 9392fcf83469c..6b8299e2585b7 100644 --- a/ext/gd/tests/libgd00100.phpt +++ b/ext/gd/tests/libgd00100.phpt @@ -1,8 +1,9 @@ --TEST-- libgd #100 (spurious horizontal line drawn by gdImageFilledPolygon) +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/libgd00101.phpt b/ext/gd/tests/libgd00101.phpt index 0206bd626b745..bd8e5ae726680 100644 --- a/ext/gd/tests/libgd00101.phpt +++ b/ext/gd/tests/libgd00101.phpt @@ -1,8 +1,9 @@ --TEST-- libgd #101 (imagecreatefromgd can crash if gdImageCreate fails) +--EXTENSIONS-- +gd --SKIPIF-- --FILE-- diff --git a/ext/gd/tests/libgd00106.phpt b/ext/gd/tests/libgd00106.phpt index 151d126075559..ad7f714c1b8e1 100644 --- a/ext/gd/tests/libgd00106.phpt +++ b/ext/gd/tests/libgd00106.phpt @@ -1,9 +1,7 @@ --TEST-- libgd #106 (imagerectangle 1x1 draws 1x3) ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- --FILE-- diff --git a/ext/gd/tests/lines.phpt b/ext/gd/tests/lines.phpt index 61e022d11acfc..7d0488ea4d2e2 100644 --- a/ext/gd/tests/lines.phpt +++ b/ext/gd/tests/lines.phpt @@ -1,9 +1,7 @@ --TEST-- imageline no AA ---SKIPIF-- - +--EXTENSIONS-- +gd --FILE-- gd1/gd2 conversion test +--EXTENSIONS-- +gd --SKIPIF-- +--EXTENSIONS-- +gd --FILE-- +--EXTENSIONS-- +gd --FILE-- png conversion test +--EXTENSIONS-- +gd --SKIPIF-- gd1/gd2 conversion test +--EXTENSIONS-- +gd --SKIPIF-- jpeg conversion test +--EXTENSIONS-- +gd --SKIPIF-- png conversion test +--EXTENSIONS-- +gd --SKIPIF-- Date: Sun, 16 May 2021 22:51:09 +0200 Subject: [PATCH 2/2] Remove superfluous SKIPIF --- ext/gd/tests/imageflip.phpt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ext/gd/tests/imageflip.phpt b/ext/gd/tests/imageflip.phpt index a67ecbce2ac5b..6c27e15b8d4b6 100644 --- a/ext/gd/tests/imageflip.phpt +++ b/ext/gd/tests/imageflip.phpt @@ -2,10 +2,6 @@ Testing imageflip() of GD library --EXTENSIONS-- gd ---SKIPIF-- - --FILE--