History log of /PHP-8.2/run-tests.php (Results 1 – 25 of 774)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# cd66fcc6 17-Jun-2023 Ilija Tovilo

Add request_parse_body() function

RFC: https://wiki.php.net/rfc/rfc1867-non-post

This function allows populating the $_POST and $_FILES globals for non-post
requests. This avoid

Add request_parse_body() function

RFC: https://wiki.php.net/rfc/rfc1867-non-post

This function allows populating the $_POST and $_FILES globals for non-post
requests. This avoids manual parsing of RFC1867 requests.

Fixes #55815
Closes GH-11472

show more ...


# 379e913e 06-Jan-2024 Ilija Tovilo

Fix run-tests.php differ calculateCommonSubsequence for EXPECTF

calculateCommonSubsequence should not contain regexes.

Fixes GH-13083
Closes GH-13084


# 60abd94b 02-Jan-2024 Jorg Adam Sowa

Changed value passed to show_start to $start_timestamp (#13064)


# 948b2bc2 29-Dec-2023 Jorg Adam Sowa

Add miliseconds do the test time output (#12729)

Also replaced microtime() with hrtime()


# 36a5f4ff 07-Dec-2023 Kamil Tekiela

Improve code quality in run-tests.php (#12889)


# 2ca142ec 14-Nov-2023 Daniil Gentili

Improve jit tests

Closes GH-12425


# 06b009c5 31-Oct-2023 Marcos Marcolin <48370677+marcosmarcolin@users.noreply.github.com>

Declare missing types and other minor improvements in run-tests.php (#12573)

* refactor: declare missing types and other minor improvements.

* refactor: declare missing types and ot

Declare missing types and other minor improvements in run-tests.php (#12573)

* refactor: declare missing types and other minor improvements.

* refactor: declare missing types and other minor improvements.

* refactor: declare missing types and other minor improvements.

* refactor: declare missing types and other minor improvements.

---------

Co-authored-by: Marcos Marcolin <marcos@ixcsoft.com.br>

show more ...


# 3fd1e57a 30-Oct-2023 Marcos Marcolin <48370677+marcosmarcolin@users.noreply.github.com>

Remove unused code in run-tests.php (#12553)

* chore: remove unused code in run-tests.php

* chore: remove unused code in run-tests.php

---------

Co-authored-by: Ma

Remove unused code in run-tests.php (#12553)

* chore: remove unused code in run-tests.php

* chore: remove unused code in run-tests.php

---------

Co-authored-by: Marcos Marcolin <marcos@ixcsoft.com.br>

show more ...


# ad1fbde7 27-Oct-2023 Marcos Marcolin <48370677+marcosmarcolin@users.noreply.github.com>

chore: removes redundant validation of $repeat, as it is the while condition. (#12521)


# bae30682 16-Sep-2023 Christian Clauss

[ci skip] Update run-tests.php: Fix typo

Closes GH-12225.


# e199104a 22-Aug-2023 Peter Kokot

Fix passing null to parameter of type string (#12014)

This fixes builds without cgi or phpdbg:
./configure --disable-cgi --disable-phpdbg
make
./sapi/cli/php run-tests.php

Fix passing null to parameter of type string (#12014)

This fixes builds without cgi or phpdbg:
./configure --disable-cgi --disable-phpdbg
make
./sapi/cli/php run-tests.php

Otherwise, deprecation warnings (since PHP-8.1) are emitted:
Deprecated: escapeshellarg(): Passing null to parameter #1 ($arg) of
type string is deprecated in run-tests.php...

show more ...


# d397fec1 07-Jul-2023 Ilija Tovilo

Skip xleak tests on asan (#11610)

Fixes GH-11077


# fc88f155 03-Apr-2023 Ilija Tovilo

Add zend_alloc XLEAK support

In the future we may want to use a different exit code to warn for tests that
didn't leak.

Closes GH-10999


# 50f58c89 02-Apr-2023 Ilija Tovilo

Add ASAN XLEAK support

Only disable LSAN instead of skipping the test. This way we can still detect
memory issues which is arguably more important anyway.

Closes GH-10996


# ed0b773c 01-Apr-2023 Ilija Tovilo

[skip ci] Avoid infinite loop in differ

TBH I don't understand why this can happen here but not in sebastian/diff. I'll
have to take a closer look.


# b9f8b696 27-Mar-2023 Ilija Tovilo

Fix one more differ direct comparison (through in_array)


# c58c2666 23-Mar-2023 Ilija Tovilo

Fix direct comparison in run-tests.php differ


# d8544926 23-Mar-2023 Ilija Tovilo

[skip ci] Fix var_dump statement in run-tests.php


# ac961bbb 17-Mar-2023 Ilija Tovilo

Implement better diff for run-tests.php

Borrow sebastianbergmann/diff with
MemoryEfficientLongestCommonSubsequenceCalculator

Fixes GH-10806
Closes GH-10875


# 486fb809 06-Mar-2023 Ilija Tovilo

[skip ci] Remove accidental run-tests.php line


# 3e6d49e0 03-Mar-2023 Danack

Fix warning in run-tests when PHP compiled without generating phpdbg support. (#10745)


# dcc3255b 25-Feb-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-10489: run-tests.php does not escape path when building cmd (#10560)

Multiple tests had to be changed to escape the arguments in shell
commands. Some tests are skipped because th

Fix GH-10489: run-tests.php does not escape path when building cmd (#10560)

Multiple tests had to be changed to escape the arguments in shell
commands. Some tests are skipped because they behave differently with
spaces in the path versus without. One notable example of this is the
hashbang test which does not work because spaces in hashbangs paths are
not supported in Linux.

Co-authored-by: Michael Voříšek <mvorisek@mvorisek.cz>

show more ...


# d498908e 08-Oct-2022 Tyson Andre

Make run-tests.php check for tcp fwrite edge cases (#9242)

When the recipient is busy or the payload is large, fwrite can block
or return a value smaller than the length of the stream.

Make run-tests.php check for tcp fwrite edge cases (#9242)

When the recipient is busy or the payload is large, fwrite can block
or return a value smaller than the length of the stream.

workers in run-tests.php communicates over tcp sockets with the manager.

https://cirrus-ci.com/task/5315675320221696?logs=tests#L130
showed notices for fwrite/unserialize

This is a similar approach to the approach used in
https://github.com/phan/phan/blob/v5/src/Phan/LanguageServer/ProtocolStreamWriter.php
for the tcp language server writing.

show more ...


# 722ed598 09-Sep-2022 Arnaud Le Blanc

Do not require opcache.preload_user in cli SAPIs


# 4ed01e32 27-Sep-2022 Christoph M. Becker

Fix run-tests.php for explicitly given test cases

The recent improvement to list skipped extensions explicitly[1] missed
to properly initialize `$ignored_by_ext` for the case where an ex

Fix run-tests.php for explicitly given test cases

The recent improvement to list skipped extensions explicitly[1] missed
to properly initialize `$ignored_by_ext` for the case where an explicit
set of test cases are given; this was not a problem previously, since
the undefined *global* variable was coerced to int. We fix this by
initializing the variable earlier.

[1] <https://github.com/php/php-src/commit/baef47ef3eafc37a4e69ef4ca530206517425768>

Closes GH-9617.

show more ...


12345678910>>...31