From: Max Semenik Date: Mon, 22 Mar 2021 13:10:15 +0000 (+0300) Subject: Migrate skip checks to --EXTENSIONS--, p1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=56f90492d68cf01a35fb0ce0290a50c09660b86f;p=php Migrate skip checks to --EXTENSIONS--, p1 For rationale, see https://github.com/php/php-src/pull/6787 Extensions migrated in this part: * bcmath * bz2 * calendar * com_dotnet * ctype Closes GH-6797. --- diff --git a/ext/bcmath/tests/bcadd.phpt b/ext/bcmath/tests/bcadd.phpt index 61552eecde..b24ce8dbd7 100644 --- a/ext/bcmath/tests/bcadd.phpt +++ b/ext/bcmath/tests/bcadd.phpt @@ -1,7 +1,7 @@ --TEST-- bcadd() function ---SKIPIF-- - +--EXTENSIONS-- +bcmath --INI-- bcmath.scale=0 --FILE-- diff --git a/ext/bcmath/tests/bcadd_error.phpt b/ext/bcmath/tests/bcadd_error.phpt index adb6c3cdc3..320bf39068 100644 --- a/ext/bcmath/tests/bcadd_error.phpt +++ b/ext/bcmath/tests/bcadd_error.phpt @@ -1,9 +1,7 @@ --TEST-- bcadd() requires well-formed values ---SKIPIF-- - +--EXTENSIONS-- +bcmath --FILE-- +--EXTENSIONS-- +bcmath --INI-- bcmath.scale=5 --FILE-- diff --git a/ext/bcmath/tests/bccomp.phpt b/ext/bcmath/tests/bccomp.phpt index b2bf9f4ac2..ba2fc79532 100644 --- a/ext/bcmath/tests/bccomp.phpt +++ b/ext/bcmath/tests/bccomp.phpt @@ -1,7 +1,7 @@ --TEST-- bccomp() function ---SKIPIF-- - +--EXTENSIONS-- +bcmath --INI-- bcmath.scale=0 --FILE-- diff --git a/ext/bcmath/tests/bccomp_error.phpt b/ext/bcmath/tests/bccomp_error.phpt index 364658dc7d..90645c52f7 100644 --- a/ext/bcmath/tests/bccomp_error.phpt +++ b/ext/bcmath/tests/bccomp_error.phpt @@ -1,9 +1,7 @@ --TEST-- bccomp() requires well-formed values ---SKIPIF-- - +--EXTENSIONS-- +bcmath --FILE-- +--EXTENSIONS-- +bcmath --INI-- bcmath.scale=0 --FILE-- diff --git a/ext/bcmath/tests/bccomp_variation002.phpt b/ext/bcmath/tests/bccomp_variation002.phpt index cb65712f06..ae7ba7fafe 100644 --- a/ext/bcmath/tests/bccomp_variation002.phpt +++ b/ext/bcmath/tests/bccomp_variation002.phpt @@ -1,7 +1,7 @@ --TEST-- bccomp() with negative value ---SKIPIF-- - +--EXTENSIONS-- +bcmath --INI-- bcmath.scale=0 --FILE-- diff --git a/ext/bcmath/tests/bcdiv.phpt b/ext/bcmath/tests/bcdiv.phpt index cda19496d5..0ae0069ce5 100644 --- a/ext/bcmath/tests/bcdiv.phpt +++ b/ext/bcmath/tests/bcdiv.phpt @@ -1,7 +1,7 @@ --TEST-- bcdiv() function ---SKIPIF-- - +--EXTENSIONS-- +bcmath --INI-- bcmath.scale=0 --FILE-- diff --git a/ext/bcmath/tests/bcdiv_error1.phpt b/ext/bcmath/tests/bcdiv_error1.phpt index a89ae98cfb..7b5908f555 100644 --- a/ext/bcmath/tests/bcdiv_error1.phpt +++ b/ext/bcmath/tests/bcdiv_error1.phpt @@ -4,8 +4,8 @@ bcdiv — Divide two arbitrary precision numbers TestFest2009 Antoni Torrents antoni@solucionsinternet.com ---SKIPIF-- - +--EXTENSIONS-- +bcmath --FILE-- +--EXTENSIONS-- +bcmath --FILE-- +--EXTENSIONS-- +bcmath --INI-- bcmath.scale=0 --FILE-- diff --git a/ext/bcmath/tests/bcmod_error2.phpt b/ext/bcmath/tests/bcmod_error2.phpt index c4d49486b3..59939b3f08 100644 --- a/ext/bcmath/tests/bcmod_error2.phpt +++ b/ext/bcmath/tests/bcmod_error2.phpt @@ -1,7 +1,7 @@ --TEST-- bcmod() - mod by 0 ---SKIPIF-- - +--EXTENSIONS-- +bcmath --INI-- bcmath.scale=0 --FILE-- diff --git a/ext/bcmath/tests/bcmod_error3.phpt b/ext/bcmath/tests/bcmod_error3.phpt index 71718d3be8..8df986fe76 100644 --- a/ext/bcmath/tests/bcmod_error3.phpt +++ b/ext/bcmath/tests/bcmod_error3.phpt @@ -1,9 +1,7 @@ --TEST-- bcmod() requires well-formed values ---SKIPIF-- - +--EXTENSIONS-- +bcmath --FILE-- +--EXTENSIONS-- +bcmath --INI-- bcmath.scale=0 --FILE-- diff --git a/ext/bcmath/tests/bcmul_error.phpt b/ext/bcmath/tests/bcmul_error.phpt index 301ef11812..361b46163e 100644 --- a/ext/bcmath/tests/bcmul_error.phpt +++ b/ext/bcmath/tests/bcmul_error.phpt @@ -1,9 +1,7 @@ --TEST-- bcmul() requires well-formed values ---SKIPIF-- - +--EXTENSIONS-- +bcmath --FILE-- +--EXTENSIONS-- +bcmath --INI-- bcmath.scale=0 --FILE-- diff --git a/ext/bcmath/tests/bcpow_error1.phpt b/ext/bcmath/tests/bcpow_error1.phpt index 38d9bda181..d2b1a10704 100644 --- a/ext/bcmath/tests/bcpow_error1.phpt +++ b/ext/bcmath/tests/bcpow_error1.phpt @@ -1,9 +1,7 @@ --TEST-- bcpow() does not support non-integral exponents ---SKIPIF-- - +--EXTENSIONS-- +bcmath --FILE-- = 2**63 ---SKIPIF-- - +--EXTENSIONS-- +bcmath --FILE-- +--EXTENSIONS-- +bcmath --FILE-- +--EXTENSIONS-- +bcmath --INI-- bcmath.scale=0 --FILE-- diff --git a/ext/bcmath/tests/bcpowmod.phpt b/ext/bcmath/tests/bcpowmod.phpt index c171e2d4a1..285648024f 100644 --- a/ext/bcmath/tests/bcpowmod.phpt +++ b/ext/bcmath/tests/bcpowmod.phpt @@ -1,7 +1,7 @@ --TEST-- bcpowmod() - Raise an arbitrary precision number to another, reduced by a specified modulus ---SKIPIF-- - +--EXTENSIONS-- +bcmath --INI-- bcmath.scale=0 --FILE-- diff --git a/ext/bcmath/tests/bcpowmod_error.phpt b/ext/bcmath/tests/bcpowmod_error.phpt index 9056f9e755..ff2862310c 100644 --- a/ext/bcmath/tests/bcpowmod_error.phpt +++ b/ext/bcmath/tests/bcpowmod_error.phpt @@ -1,9 +1,7 @@ --TEST-- bcpowmod() requires well-formed values ---SKIPIF-- - +--EXTENSIONS-- +bcmath --FILE-- +--EXTENSIONS-- +bcmath --FILE-- +--EXTENSIONS-- +bcmath --FILE-- +--EXTENSIONS-- +bcmath --INI-- bcmath.scale=0 --FILE-- diff --git a/ext/bcmath/tests/bcscale_variation001.phpt b/ext/bcmath/tests/bcscale_variation001.phpt index 0718d724c2..8d9d32e064 100644 --- a/ext/bcmath/tests/bcscale_variation001.phpt +++ b/ext/bcmath/tests/bcscale_variation001.phpt @@ -1,7 +1,7 @@ --TEST-- bcscale() fails with negative argument ---SKIPIF-- - +--EXTENSIONS-- +bcmath --INI-- bcmath.scale=0 --FILE-- diff --git a/ext/bcmath/tests/bcscale_variation002.phpt b/ext/bcmath/tests/bcscale_variation002.phpt index 11df405bea..205f39d4c8 100644 --- a/ext/bcmath/tests/bcscale_variation002.phpt +++ b/ext/bcmath/tests/bcscale_variation002.phpt @@ -1,7 +1,7 @@ --TEST-- bcadd() incorrect argument count ---SKIPIF-- - +--EXTENSIONS-- +bcmath --INI-- bcmath.scale=-2 --FILE-- diff --git a/ext/bcmath/tests/bcscale_variation003.phpt b/ext/bcmath/tests/bcscale_variation003.phpt index 0812aadab6..40d17db2c5 100644 --- a/ext/bcmath/tests/bcscale_variation003.phpt +++ b/ext/bcmath/tests/bcscale_variation003.phpt @@ -1,7 +1,7 @@ --TEST-- bcscale() return value ---SKIPIF-- - +--EXTENSIONS-- +bcmath --INI-- bcmath.scale=0 --FILE-- diff --git a/ext/bcmath/tests/bcsqrt.phpt b/ext/bcmath/tests/bcsqrt.phpt index b2a8d8adbc..92512dd0d0 100644 --- a/ext/bcmath/tests/bcsqrt.phpt +++ b/ext/bcmath/tests/bcsqrt.phpt @@ -1,7 +1,7 @@ --TEST-- bcsqrt() function ---SKIPIF-- - +--EXTENSIONS-- +bcmath --INI-- bcmath.scale=0 --FILE-- diff --git a/ext/bcmath/tests/bcsqrt_error1.phpt b/ext/bcmath/tests/bcsqrt_error1.phpt index bdc850f979..78923f4a94 100644 --- a/ext/bcmath/tests/bcsqrt_error1.phpt +++ b/ext/bcmath/tests/bcsqrt_error1.phpt @@ -3,8 +3,8 @@ bcsqrt — Get the square root of an arbitrary precision number --CREDITS-- Antoni Torrents antoni@solucionsinternet.com ---SKIPIF-- - +--EXTENSIONS-- +bcmath --FILE-- +--EXTENSIONS-- +bcmath --FILE-- +--EXTENSIONS-- +bcmath --INI-- bcmath.scale=0 --FILE-- diff --git a/ext/bcmath/tests/bcsub.phpt b/ext/bcmath/tests/bcsub.phpt index 8d85d23233..3d0765bef3 100644 --- a/ext/bcmath/tests/bcsub.phpt +++ b/ext/bcmath/tests/bcsub.phpt @@ -1,7 +1,7 @@ --TEST-- bcsub() function ---SKIPIF-- - +--EXTENSIONS-- +bcmath --INI-- bcmath.scale=0 --FILE-- diff --git a/ext/bcmath/tests/bcsub_error.phpt b/ext/bcmath/tests/bcsub_error.phpt index 0a890eff03..4e1abd3fa9 100644 --- a/ext/bcmath/tests/bcsub_error.phpt +++ b/ext/bcmath/tests/bcsub_error.phpt @@ -1,9 +1,7 @@ --TEST-- bcsub() requires well-formed values ---SKIPIF-- - +--EXTENSIONS-- +bcmath --FILE-- +--EXTENSIONS-- +bcmath --FILE-- +--EXTENSIONS-- +bcmath --FILE-- +--EXTENSIONS-- +bcmath --FILE-- +--EXTENSIONS-- +bcmath --FILE-- --FILE-- +--EXTENSIONS-- +bcmath --FILE-- +--EXTENSIONS-- +bcmath --FILE-- +--EXTENSIONS-- +bcmath --FILE-- +--EXTENSIONS-- +bcmath --FILE-- +--EXTENSIONS-- +bcmath --INI-- bcmath.scale=0 --FILE-- diff --git a/ext/bcmath/tests/scale.phpt b/ext/bcmath/tests/scale.phpt index e2e65cab22..ad3cb45ea7 100644 --- a/ext/bcmath/tests/scale.phpt +++ b/ext/bcmath/tests/scale.phpt @@ -1,9 +1,7 @@ --TEST-- BCMath functions return result with requested scale ---SKIPIF-- - +--EXTENSIONS-- +bcmath --FILE-- +--EXTENSIONS-- +bcmath --INI-- bcmath.scale = 5 --FILE-- diff --git a/ext/bcmath/tests/str2num_formatting.phpt b/ext/bcmath/tests/str2num_formatting.phpt index dd3499804e..ee3f0ae4a8 100644 --- a/ext/bcmath/tests/str2num_formatting.phpt +++ b/ext/bcmath/tests/str2num_formatting.phpt @@ -4,8 +4,8 @@ bcmath lib arguments formatting 1 and 2 argument of bcadd/bcsub/bcmul/bcdiv/bcmod/bcpowmod/bcpow/bccomp (last one works different then others internally); 1 argument of bcsqrt All of the name above must be well-formed ---SKIPIF-- - +--EXTENSIONS-- +bcmath --FILE-- +--EXTENSIONS-- +bz2 --FILE-- +--EXTENSIONS-- +bz2 --FILE-- +--EXTENSIONS-- +bz2 --FILE-- +--EXTENSIONS-- +bz2 --FILE-- +--EXTENSIONS-- +bz2 --FILE-- +--EXTENSIONS-- +bz2 --FILE-- +--EXTENSIONS-- +bz2 --FILE-- +--EXTENSIONS-- +bz2 --FILE-- +--EXTENSIONS-- +bz2 --FILE-- +--EXTENSIONS-- +bz2 --FILE-- +--EXTENSIONS-- +bz2 --FILE-- +--EXTENSIONS-- +bz2 --FILE-- +--EXTENSIONS-- +bz2 --FILE-- +--EXTENSIONS-- +bz2 --FILE-- +--EXTENSIONS-- +bz2 --FILE-- +--EXTENSIONS-- +bz2 --FILE-- +--EXTENSIONS-- +calendar --FILE-- +--EXTENSIONS-- +calendar --FILE-- +--EXTENSIONS-- +calendar --FILE-- +--EXTENSIONS-- +calendar --FILE-- --FILE-- diff --git a/ext/calendar/tests/bug80185_32bit.phpt b/ext/calendar/tests/bug80185_32bit.phpt index 98a1bea2a3..a7fe96e0ff 100644 --- a/ext/calendar/tests/bug80185_32bit.phpt +++ b/ext/calendar/tests/bug80185_32bit.phpt @@ -1,8 +1,9 @@ --TEST-- Bug #80185 (jdtounix() fails after 2037) +--EXTENSIONS-- +calendar --SKIPIF-- --FILE-- diff --git a/ext/calendar/tests/cal_days_in_month.phpt b/ext/calendar/tests/cal_days_in_month.phpt index fbd6362b0f..d94d39f2f6 100644 --- a/ext/calendar/tests/cal_days_in_month.phpt +++ b/ext/calendar/tests/cal_days_in_month.phpt @@ -1,7 +1,7 @@ --TEST-- cal_days_in_month() ---SKIPIF-- - +--EXTENSIONS-- +calendar --FILE-- ---SKIPIF-- - +--EXTENSIONS-- +calendar --FILE-- +--EXTENSIONS-- +calendar --FILE-- ---SKIPIF-- - +--EXTENSIONS-- +calendar --FILE-- +--EXTENSIONS-- +calendar --FILE-- +--EXTENSIONS-- +calendar --FILE-- ---SKIPIF-- - +--EXTENSIONS-- +calendar --FILE-- +--EXTENSIONS-- +calendar --FILE-- +--EXTENSIONS-- +calendar --FILE-- +--EXTENSIONS-- +calendar --FILE-- +--EXTENSIONS-- +calendar --FILE-- - --FILE-- +--EXTENSIONS-- +calendar --FILE-- +--EXTENSIONS-- +calendar --FILE-- +--EXTENSIONS-- +calendar --FILE-- +--EXTENSIONS-- +calendar --FILE-- --FILE-- diff --git a/ext/calendar/tests/jdtojewish.phpt b/ext/calendar/tests/jdtojewish.phpt index 4fd104c50c..6b1c2e3f77 100644 --- a/ext/calendar/tests/jdtojewish.phpt +++ b/ext/calendar/tests/jdtojewish.phpt @@ -1,7 +1,7 @@ --TEST-- jdtojewish() function ---SKIPIF-- - +--EXTENSIONS-- +calendar --FILE-- +--EXTENSIONS-- +calendar --FILE-- +--EXTENSIONS-- +calendar --FILE-- +--EXTENSIONS-- +calendar --FILE-- +--EXTENSIONS-- +calendar --FILE-- +--EXTENSIONS-- +calendar --FILE-- --INI-- date.timezone=UTC ---SKIPIF-- - +--EXTENSIONS-- +calendar --FILE-- +--EXTENSIONS-- +calendar --FILE-- +--EXTENSIONS-- +calendar --FILE-- - --FILE-- diff --git a/ext/calendar/tests/unixtojd.phpt b/ext/calendar/tests/unixtojd.phpt index 28a05c0c6f..3d0ffa3fea 100644 --- a/ext/calendar/tests/unixtojd.phpt +++ b/ext/calendar/tests/unixtojd.phpt @@ -1,7 +1,7 @@ --TEST-- unixtojd() ---SKIPIF-- - +--EXTENSIONS-- +calendar --ENV-- TZ=UTC --FILE-- diff --git a/ext/calendar/tests/unixtojd_error1.phpt b/ext/calendar/tests/unixtojd_error1.phpt index 000f047f0a..6b8fad05eb 100644 --- a/ext/calendar/tests/unixtojd_error1.phpt +++ b/ext/calendar/tests/unixtojd_error1.phpt @@ -2,8 +2,8 @@ Test unixtojd() function : error conditions --CREDITS-- edgarsandi - ---SKIPIF-- - +--EXTENSIONS-- +calendar --INI-- date.timezone=UTC --FILE-- diff --git a/ext/com_dotnet/tests/27974.phpt b/ext/com_dotnet/tests/27974.phpt index c76dda9ed5..ca7735a829 100644 --- a/ext/com_dotnet/tests/27974.phpt +++ b/ext/com_dotnet/tests/27974.phpt @@ -1,8 +1,7 @@ --TEST-- COM: mapping a safearray ---SKIPIF-- - +--EXTENSIONS-- +com_dotnet --FILE-- --FILE-- diff --git a/ext/com_dotnet/tests/bug34272.phpt b/ext/com_dotnet/tests/bug34272.phpt index ce8a552dfd..27dc5142d3 100644 --- a/ext/com_dotnet/tests/bug34272.phpt +++ b/ext/com_dotnet/tests/bug34272.phpt @@ -1,8 +1,7 @@ --TEST-- Bug #34272 (empty array onto COM object blows up) ---SKIPIF-- - +--EXTENSIONS-- +com_dotnet --FILE-- +--EXTENSIONS-- +com_dotnet --FILE-- +--EXTENSIONS-- +com_dotnet --FILE-- +--EXTENSIONS-- +com_dotnet --FILE-- +--EXTENSIONS-- +com_dotnet --FILE-- +--EXTENSIONS-- +com_dotnet --FILE-- +--EXTENSIONS-- +com_dotnet --FILE-- +--EXTENSIONS-- +com_dotnet --FILE-- +--EXTENSIONS-- +com_dotnet --FILE-- +--EXTENSIONS-- +com_dotnet --FILE-- --FILE-- diff --git a/ext/com_dotnet/tests/bug77177.phpt b/ext/com_dotnet/tests/bug77177.phpt index 8fcfd5a378..19e4c11995 100644 --- a/ext/com_dotnet/tests/bug77177.phpt +++ b/ext/com_dotnet/tests/bug77177.phpt @@ -1,9 +1,7 @@ --TEST-- Bug #77177 (Serializing or unserializing COM objects crashes) ---SKIPIF-- - +--EXTENSIONS-- +com_dotnet --FILE-- +--EXTENSIONS-- +com_dotnet --FILE-- +--EXTENSIONS-- +com_dotnet --INI-- com.autoregister_verbose=1 --FILE-- diff --git a/ext/com_dotnet/tests/bug78650.phpt b/ext/com_dotnet/tests/bug78650.phpt index c362de95bb..ca2a235af2 100644 --- a/ext/com_dotnet/tests/bug78650.phpt +++ b/ext/com_dotnet/tests/bug78650.phpt @@ -1,9 +1,7 @@ --TEST-- Bug #78650 (new COM Crash) ---SKIPIF-- - +--EXTENSIONS-- +com_dotnet --FILE-- +--EXTENSIONS-- +com_dotnet --FILE-- --FILE-- diff --git a/ext/com_dotnet/tests/bug79247.phpt b/ext/com_dotnet/tests/bug79247.phpt index 55e24b1796..2cda351d54 100644 --- a/ext/com_dotnet/tests/bug79247.phpt +++ b/ext/com_dotnet/tests/bug79247.phpt @@ -1,9 +1,7 @@ --TEST-- Bug #79247 (Garbage collecting variant objects segfaults) ---SKIPIF-- - +--EXTENSIONS-- +com_dotnet --FILE-- +--EXTENSIONS-- +com_dotnet --FILE-- +--EXTENSIONS-- +com_dotnet --FILE-- +--EXTENSIONS-- +com_dotnet --FILE-- --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE-- +--EXTENSIONS-- +ctype --FILE--