History log of /PHP-8.4/run-tests.php (Results 51 – 75 of 784)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 0028c242 11-Aug-2022 Ilija Tovilo

Add --[no-]progress option to run-tests.php (#9255)

Previously, adding the -g argument would disable progress, even locally.
Now it needs to be disabled explicitly.


Revision tags: php-8.2.0beta2, php-8.1.9, php-8.0.22
# 53e71415 31-Jul-2022 Ilija Tovilo

Hide skipped tests in CI (#9163)


# 1c9a49e3 30-Jul-2022 Bob Weinand

Add opcache.preload_user=root to run-tests.php if root

This prevents breaking the testsuite when running it as root.


Revision tags: php-8.1.9RC1, php-8.2.0beta1, php-8.0.22RC1
# 0490f082 16-Jul-2022 George Peter Banyard

[run-tests.php] echo call performance optimization


# 3483a1f1 09-Jul-2022 Ayesh Karunaratne

[run-tests.php] Combine multiple `str_replace` calls to a single `strtr` call

Makes the replacement easier to see, neatly aligned, and only takes one function call.
This is safe because

[run-tests.php] Combine multiple `str_replace` calls to a single `strtr` call

Makes the replacement easier to see, neatly aligned, and only takes one function call.
This is safe because none of the combined replacement values contain tokens that would be recursively replaced.

This also improves the readability on how the regular expressions in `EXPECTF` matcher is constructed.

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

show more ...


# c83a10d8 09-Jul-2022 Ayesh Karunaratne

[run-tests.php] Replace backtick operator string literals with `shell_exec()` calls

The rationale is that `shell_exec()` is identical to the backtick operator (both of which are disabled whe

[run-tests.php] Replace backtick operator string literals with `shell_exec()` calls

The rationale is that `shell_exec()` is identical to the backtick operator (both of which are disabled when `shell_exec` function is disabled) makes it very clear that it is a shell execution, and eases security audits too.

show more ...


# f958701d 09-Jul-2022 Ayesh Karunaratne

[run-tests.php] Merge multiple `unset()` calls to a single call


# 056afc8d 09-Jul-2022 Ayesh Karunaratne

[run-tests.php] Minor optimizations in `if` blocks by placing simple expressions first


# 51447fb4 09-Jul-2022 Ayesh Karunaratne

[run-tests.php] Improve non-optimal nested `if`/`elseif`/`else` blocks with happy path optimizations

Simplifies and improves the readability of multiple `if`/`elseif`/`else` blocks by removi

[run-tests.php] Improve non-optimal nested `if`/`elseif`/`else` blocks with happy path optimizations

Simplifies and improves the readability of multiple `if`/`elseif`/`else` blocks by removing them when an earlier branch exists the execution flow by either returning or terminating the script.

show more ...


# d4306529 20-Jul-2022 Christoph M. Becker

Fix --CGI-- support of run-tests.php

The `--CGI--` section is supposed to be just a marker, and to be empty
as such. However, a previous refactoring[1] broke that.

[1] <https:/

Fix --CGI-- support of run-tests.php

The `--CGI--` section is supposed to be just a marker, and to be empty
as such. However, a previous refactoring[1] broke that.

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

Closes GH-9061.

show more ...


# 6cd5bd1b 10-Jul-2022 Michael Voříšek

Fix "%f" regex in run-tests.php (#8965)

"-.0.0" and "0." is no longer matched wrongly


Revision tags: php-8.0.21, php-8.1.8, php-8.2.0alpha3, php-8.1.8RC1, php-8.2.0alpha2, php-8.0.21RC1, php-8.0.20, php-8.1.7, php-8.2.0alpha1
# c05c96b3 07-Jun-2022 George Peter Banyard

Fix GH-8691 Add required extensions for redirected tests


# ed6dab20 07-Jun-2022 Rowan Tommins

Avoid accessing undefined variables in run-tests.php (#8669)

The $php_cgi and $phpdbg cases here are definitely real bugs, and
caused the script to bail out under certain ini settings.

Avoid accessing undefined variables in run-tests.php (#8669)

The $php_cgi and $phpdbg cases here are definitely real bugs, and
caused the script to bail out under certain ini settings.

The other paths may actually be unreachable in practice, but were
highlighted by PhpStorm.

show more ...


Revision tags: php-7.4.30
# 8e00e820 06-Jun-2022 George Peter Banyard

[ci skip] Drop ability to send QA reports by email (#8657)

This fails regularly and on top of that we don't look at these reports.


Revision tags: php-8.1.7RC1, php-8.0.20RC1, php-8.1.6, php-8.0.19, php-8.1.6RC1, php-8.0.19RC1, php-8.0.18, php-8.1.5, php-7.4.29, php-8.1.5RC1, php-8.0.18RC1, php-8.1.4, php-8.0.17
# 9a90bd70 12-Mar-2022 Ilija Tovilo

Deprecate ${} string interpolation

https://wiki.php.net/rfc/deprecate_dollar_brace_string_interpolation


# fe4aba65 29-Mar-2022 Remi Collet

typo


# 23cce68d 24-Mar-2022 Remi Collet

run-tests.php: fix TypeError: Unsupported operand types: string * int <n> is mandatory for --show-slow and --set-timeout use <n> in help message instead of confusing [n]


Revision tags: php-8.1.4RC1, php-8.0.17RC1, php-8.1.3, php-8.0.16, php-7.4.28, php-8.1.3RC1, php-8.0.16RC1, php-8.1.2, php-8.0.15, php-8.1.2RC1, php-8.0.15RC1
# 87d9e02f 27-Dec-2021 Christoph M. Becker

Don't truncate subsecond precision in run-tests.php JUNIT output

When run-tests.php has been typed[1], the type of `$time` has been
chosen to be `int`. This, however, leads to truncatio

Don't truncate subsecond precision in run-tests.php JUNIT output

When run-tests.php has been typed[1], the type of `$time` has been
chosen to be `int`. This, however, leads to truncation, and the
somewhat relevant subsecond precision is lost. We fix that by
changing the type to `float`, although `int|string` would be more
appropriate, but requires PHP ≥ 7.4.0. Another option would be to
move the `number_format()` formatting into `junit_mark_test_as()`.

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

Closes GH-7836.

show more ...


# eebe9108 23-Dec-2021 C. Scott Ananian

Don't test hidden files that happen to end in .phpt

This is a tiny improvement to run-tests.php which helps keep it from
tripping over hidden files, including autosave files from various

Don't test hidden files that happen to end in .phpt

This is a tiny improvement to run-tests.php which helps keep it from
tripping over hidden files, including autosave files from various
editors, metadata on certain platforms, etc.

Closes GH-7783.

show more ...


Revision tags: php-8.0.14, php-8.1.1, php-7.4.27, php-8.1.1RC1, php-8.0.14RC1, php-7.4.27RC1, php-8.1.0, php-8.0.13, php-7.4.26, php-7.3.33, php-8.1.0RC6, php-7.4.26RC1, php-8.0.13RC1, php-8.1.0RC5, php-7.3.32, php-7.4.25, php-8.0.12, php-8.1.0RC4
# 39e4ae0c 12-Oct-2021 Remi Collet

[ci skip] typo


# 3fb1cf24 12-Oct-2021 Remi Collet

Fix #81520 TEST_PHP_CGI_EXECUTABLE badly set in run-tests.php


# ea00e650 12-Oct-2021 Remi Collet

Fix #81520 TEST_PHP_CGI_EXECUTABLE badly set in run-tests.php


Revision tags: php-8.0.12RC1, php-7.4.25RC1, php-8.1.0RC3
# 9fc6be29 23-Sep-2021 Nikita Popov

Add env var to disable skip cache

DISABLE_SKIP_CACHE=1 can be used to disable the skip cache. This
does not control the extensions cache.

See https://externals.io/message/116044

Add env var to disable skip cache

DISABLE_SKIP_CACHE=1 can be used to disable the skip cache. This
does not control the extensions cache.

See https://externals.io/message/116044 for related discussion.

Closes GH-7510.

show more ...


Revision tags: php-8.0.11, php-7.4.24, php-7.3.31, php-8.1.0RC2, php-7.4.24RC1, php-8.0.11RC1
# 4f42a0af 06-Sep-2021 Kamil Tekiela

Report output from CLEAN (#7456)

Mark test as borked if the test passed and CLEAN produces output.

Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>


# e16af8e8 03-Sep-2021 twosee

Support generate lldb command in run-tests.php (#7451)


12345678910>>...32