History log of /php-src/run-tests.php (Results 26 – 50 of 819)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# ac961bbb 17-Mar-2023 Ilija Tovilo

Implement better diff for run-tests.php

Borrow sebastianbergmann/diff with
MemoryEfficientLongestCommonSubsequenceCalculator

Fixes GH-10806
Closes GH-10875


# 471105ab 15-Mar-2023 Ilija Tovilo

Another attempt to fix MSAN nightly on master


# 63525ee6 14-Mar-2023 Ilija Tovilo

use_tls=0 on MSAN

Attempt to fix MSAN failure in CI

Closes GH-10851


# d3c95852 10-Mar-2023 Ilija Tovilo

[skip ci] Fix diff cmd env name in run-tests.php


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


# 8c0698f6 13-Jan-2023 Arnaud Le Blanc

Fix run-tests.php hanging when a worker process dies without notice (#9931)

run-tests.php with `-jN` can hang if a parallel worker dies without notice. This
can happen due to fatal error

Fix run-tests.php hanging when a worker process dies without notice (#9931)

run-tests.php with `-jN` can hang if a parallel worker dies without notice. This
can happen due to fatal errors in the worker, or if the worker is killed.

- run-tests.php (main process)
\_ run-tests.php (worker #0) // main process hangs if this one crashes
\_ test-001.php (test-001.phpt)

show more ...


# 75970077 30-Oct-2022 Ilija Tovilo

Migrate i386 to GitHub actions

Closes GH-9856


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


# baef47ef 22-Sep-2022 Michael Voříšek

List skipped extensions explicitly

We also fix the summary alignment for 10k+ tests.

Closes GH-8363.


# d7d6794f 16-Sep-2022 Derick Rethans

Use external diff tool if TEST_PHP_DIFF_CMD env var is set


Revision tags: php-8.2.0RC1, php-8.1.10, php-8.0.23, php-8.0.23RC1, php-8.1.10RC1, php-8.2.0beta3
# c809a213 12-Aug-2022 Ilija Tovilo

Fix run-tests.php --no-progress flag for non-parallel testing

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

# de6d708f 20-Jul-2022 Christoph M. Becker

Merge branch 'PHP-8.1'

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


12345678910>>...33