History log of /PHP-8.2/run-tests.php (Results 26 – 50 of 804)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 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.

# 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.

# 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 ...

# de6d708f 20-Jul-2022 Christoph M. Becker

Merge branch 'PHP-8.1'

* PHP-8.1:
Fix --CGI-- support of run-tests.php


# 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

# 306f8d28 08-Jun-2022 George Peter Banyard

Merge branch 'PHP-8.1'


# 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 ...

# 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.

# 9a90bd70 12-Mar-2022 Ilija Tovilo

Deprecate ${} string interpolation

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

# a6d88d3b 29-Mar-2022 Remi Collet

Merge branch 'PHP-8.1'

* PHP-8.1:
typo


# 43dd512e 29-Mar-2022 Remi Collet

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
typo


# fe4aba65 29-Mar-2022 Remi Collet

typo

# d3766308 29-Mar-2022 Remi Collet

Merge branch 'PHP-8.1'

* PHP-8.1:
run-tests.php: fix TypeError: Unsupported operand types: string * int <n> is mandatory for --show-slow and --set-timeout use <n> in help message inste

Merge branch 'PHP-8.1'

* PHP-8.1:
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]

show more ...


# 85533e74 29-Mar-2022 Remi Collet

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
run-tests.php: fix TypeError: Unsupported operand types: string * int <n> is mandatory for --show-slow and --set-timeout use <n> in help

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
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]

show more ...


# 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]

# 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 ...

12345678910>>...33