History log of /PHP-8.1/run-tests.php (Results 51 – 75 of 735)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# bdd7c487 25-Feb-2021 Max Semenik

run-tests: drop support for ancient Valgrind versions

Valgrind 3.3.0 was released in 2007, not even RHEL has crap older than
this. It could be argued that 3.8.0, released in 2012, could

run-tests: drop support for ancient Valgrind versions

Valgrind 3.3.0 was released in 2007, not even RHEL has crap older than
this. It could be argued that 3.8.0, released in 2012, could be a safe
cutoff too.

Closes GH-6728.

show more ...


# a480bf80 23-Feb-2021 Dylan K. Taylor

Capture Microsoft-defined HRESULT exit codes exit codes

The lack of such a check leads to false-passes of tests on Windows
which expect no output, but produce a segfault or similar issue

Capture Microsoft-defined HRESULT exit codes exit codes

The lack of such a check leads to false-passes of tests on Windows
which expect no output, but produce a segfault or similar issue. I
discovered this a while ago due to bad tests in an extension I maintain.

Closes GH-6722.

show more ...


# dda0cea5 11-Feb-2021 Max Semenik

run-tests: add skip cache

Currently every --SKIPIF-- section in every test file results in 1
extra execution of PHP, every --EXTENSIONS-- section - in 2 executions.
This is quite was

run-tests: add skip cache

Currently every --SKIPIF-- section in every test file results in 1
extra execution of PHP, every --EXTENSIONS-- section - in 2 executions.
This is quite wasteful, as skip checking code is extremely repetitive
and extensions are fixed for every binary/ini/command parameters
combination.

This patch adds caching to all such checks.

On my machine, the gains are quite noticeable: 36s instead of 43s
with -j16, 292s instead of 337s without concurrency. Cache stats are
3780 hits, 1247 misses in the latter case. In the future, tests could
be adjusted to have more uniform skip checks to improve performance even
more.

Closes GH-6681.

show more ...


# 729cd8ba 22-Feb-2021 Dylan K. Taylor

run-tests: fixed exit code not being set on BORKED tests

When no test paths are specified this shows up when 'make test' is used on a PECL extension without specifying tests to run (or in ph

run-tests: fixed exit code not being set on BORKED tests

When no test paths are specified this shows up when 'make test' is used on a PECL extension without specifying tests to run (or in php-src too, I guess...)

Closes GH-6717.

show more ...


# cbdd21a2 17-Feb-2021 Nikita Popov

Color LEAK&FAIL like a failure


# b1177127 13-Feb-2021 Max Semenik

Remove stray mentions of mbstring.func_overload

This feature has been completely removed.

Closes GH-6688.


Revision tags: php-7.3.27, php-7.3.26, php-7.3.26RC1
# b10416a6 30-Nov-2020 Nikita Popov

Deprecate passing null to non-nullable arg of internal function

This deprecates passing null to non-nullable scale arguments of
internal functions, with the eventual goal of making the b

Deprecate passing null to non-nullable arg of internal function

This deprecates passing null to non-nullable scale arguments of
internal functions, with the eventual goal of making the behavior
consistent with userland functions, where null is never accepted
for non-nullable arguments.

This change is expected to cause quite a lot of fallout. In most
cases, calling code should be adjusted to avoid passing null. In
some cases, PHP should be adjusted to make some function arguments
nullable. I have already fixed a number of functions before landing
this, but feel free to file a bug if you encounter a function that
doesn't accept null, but probably should. (The rule of thumb for
this to be applicable is that the function must have special behavior
for 0 or "", which is distinct from the natural behavior of the
parameter.)

RFC: https://wiki.php.net/rfc/deprecate_null_to_scalar_internal_arg

Closes GH-6475.

show more ...


# 0d3ab673 10-Feb-2021 Max Semenik

run-tests: fix JUnit counts

In 19680f886f, I forgot about my own TODO. At least, now I understand what
this line was about :P


# 19680f88 05-Feb-2021 Max Semenik

run-tests.php: move JUnit stuff into a class

This is part one of my work that was announced at
https://externals.io/message/110391

Closes GH-6671.


# 23a7b0f3 01-Feb-2021 twosee

Fix environment variable not work in run-tests.php

Closes GH-6657.


# 866e3e03 01-Feb-2021 Nikita Popov

Create .php and .sh on valgrind failure


Revision tags: php-7.3.25, php-7.3.25RC1, php-7.3.24, php-7.3.24RC1, php-7.3.23, php-7.3.23RC1, php-7.3.22
# 26e0d389 25-Aug-2020 Nikita Popov

Show slow SKIPIF sections as well


# 3b4fb2eb 01-Dec-2020 Nikita Popov

Determine run-tests executables consistently


# 6fdc9885 30-Nov-2020 Nikita Popov

Don't pass null to strlen()


# 15073d8e 30-Nov-2020 Nikita Popov

Fixed bug #80437

Only chmod if the file has been created.


# c3885f23 15-Nov-2020 Christoph M. Becker

Add --repeat flag to usage info of run-tests.php

Closes GH-6429.


# 1b3b430f 21-Oct-2020 Nikita Popov

Add --repeat testing mode

This testing mode executes the test multiple times in the same
process (but in different requests). It is primarily intended to
catch tracing JIT bugs, but

Add --repeat testing mode

This testing mode executes the test multiple times in the same
process (but in different requests). It is primarily intended to
catch tracing JIT bugs, but also catches state leaks across
requests.

Closes GH-6365.

show more ...


# f17b2a75 12-Oct-2020 bashkarev

Don't set xdebug.default_enable in run-tests

This throws a deprecation warning in XDebug 3.

Closes GH-6324.


# b2700811 15-Oct-2020 Nikita Popov

Skip arginfo test under msan

Msan is missing interceptors for some functions that result in
false positives.


# 9623756a 23-Sep-2020 Nikita Popov

Remove unused --temp-urlbase option from run-tests.php

This was part of the removed HTML functionality.


# bfeb2f6a 19-Aug-2020 Berbe <4251220+Berbe@users.noreply.github.com>

Fix: Gracefully handle empty user input in run-tests.php

Closes GH-6016.


Revision tags: php-7.3.22RC1
# 0461c157 10-Aug-2020 Tyson Andre

Add `run-tests.php --context [n]` option.

Mentioned in https://github.com/php/php-src/pull/5965#discussion_r467621123

This PR proposes 3 lines of context so the impact can be seen i

Add `run-tests.php --context [n]` option.

Mentioned in https://github.com/php/php-src/pull/5965#discussion_r467621123

This PR proposes 3 lines of context so the impact can be seen in tests.
Other `diff` programs show around 3 lines of context.
(This helps indicate exactly which position a test should be updated
to add a new expected line at)

Use the mapping for choosing order to display diffs

Properly include context in cases where the expected output had more lines than
the actual output, e.g.

```
--FILE--
A
A1
A
C
NEARBY
--EXPECTF--
A
B
A1
B
A
B
A
B
NEARBY
```

Closes GH-5968

show more ...


# 7be61bec 12-Aug-2020 Tyson Andre

Colorize --show-diff, only on stdout

Don't add colors to the saved `.diff` file.

Related to a41cf3e1d2ed3ae38ad6115a8b65e5f14dae0b49


# 45d69fb8 09-Aug-2020 Tyson Andre

Support NO_COLOR environment variable in run-tests.php

And add a --color option for run-tests.php

See https://no-color.org/

> an informal standard is hereby proposed:
>

Support NO_COLOR environment variable in run-tests.php

And add a --color option for run-tests.php

See https://no-color.org/

> an informal standard is hereby proposed:
>
> All command-line software which outputs text with ANSI color added should check
> for the presence of a `NO_COLOR` environment variable that, when present
> (regardless of its value), prevents the addition of ANSI color.

show more ...


# a41cf3e1 10-Aug-2020 Nikita Popov

Revert "Make diff section contents red(-)/green(+) in run-tests.php"

This reverts commit 58489bd3b93e10c150933eefac05297b48213eb3.

This also uses ANSI escape code coloring for .diff

Revert "Make diff section contents red(-)/green(+) in run-tests.php"

This reverts commit 58489bd3b93e10c150933eefac05297b48213eb3.

This also uses ANSI escape code coloring for .diff files, where it
is not meaningful.

show more ...


12345678910>>...30