History log of /PHP-8.3/run-tests.php (Results 126 – 150 of 767)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 9a98569e 29-Apr-2020 Christoph M. Becker

Pass worker ID to clean scripts

On Windows, reusing/sharing of OPcache instances with different
configuration is not necessarily supported, so we have to make that it
does not happen

Pass worker ID to clean scripts

On Windows, reusing/sharing of OPcache instances with different
configuration is not necessarily supported, so we have to make that it
does not happen for the clean scripts, by using `$orig_ini_settings`
instead of `$clean_params`.

show more ...


Revision tags: php-7.4.6RC1
# 5eb4ab07 28-Apr-2020 Christoph M. Becker

Show eventual output of clean sections

This is a hack to investigate why mysqli_insert_packet_overflow.phpt
intermittently fails on AppVeyor, and will be reverted in due time.
See <h

Show eventual output of clean sections

This is a hack to investigate why mysqli_insert_packet_overflow.phpt
intermittently fails on AppVeyor, and will be reverted in due time.
See <https://github.com/php/php-src/pull/5447#issuecomment-620508790>.

show more ...


Revision tags: php-7.3.18RC1
# 1baa5831 24-Apr-2020 Flávio Heleno

Fixed run-tests.php for PHP 7.2

Flexible heredoc syntax is only available since PHP 7.3.

Closes GH-5444.


# ec88bbc4 15-Apr-2020 Benjamin Eberlei

Enhance test failure SH script to allow gdb, valgrind, rr as alternative modes.


# fd5dc557 15-Apr-2020 Nikita Popov

Force short_open_tag=0 in run-tests.php

Make sure we don't accidentially add tests depending on short tags.


Revision tags: php-7.2.30, php-7.4.5, php-7.3.17, php-7.4.5RC1, php-7.3.17RC1, php-7.3.18, php-7.4.4, php-7.2.29, php-7.3.16, php-7.4.4RC1, php-7.3.16RC1, php-7.4.3, php-7.2.28
# a9398056 12-Feb-2020 Nikita Popov

Use serialize_precision for var_dump()

var_dump() is debugging functionality, so it should print
floating-point numbers accurately. We do this by switching
to serialize_precision, wh

Use serialize_precision for var_dump()

var_dump() is debugging functionality, so it should print
floating-point numbers accurately. We do this by switching
to serialize_precision, which (by default) will print with
as much precision as necessary to preserve the exact value
of the float.

This also affects debug_zval_dump().

Closes GH-5172.

show more ...


# e1de11d4 12-Feb-2020 Christoph M. Becker

Create a new console for each test worker on Windows

The primary motivation to have each test worker running its own console
is to allow the windows_mb_path tests to run in parallel. A

Create a new console for each test worker on Windows

The primary motivation to have each test worker running its own console
is to allow the windows_mb_path tests to run in parallel. A nice side
effect is that this also prevents changing the code page of the
tester's console window (which can even cause its font to be changed).

To be able to do so, we introduce the `create_new_console` option for
`proc_open()`, which might occasionally be useful for other purposes
than testing.

show more ...


Revision tags: php-7.3.15RC1, php-7.4.3RC1
# 58b17906 03-Feb-2020 Nikita Popov

Apply tidy formatting

Mostly reindent PHP scripts to spaces.


Revision tags: php-7.3.15, php-7.2.27, php-7.4.2, php-7.3.14
# 27fb0b28 10-Jan-2020 Nikita Popov

Add WHITESPACE_SENSITIVE run-tests section

This is used to indicate that the test should not be changed by
automated formatting changes.


# c6cf354a 24-Jan-2020 Nikita Popov

Don't use CRLF when generating diffs


# 0c696577 20-Jan-2020 Tyson Andre

Use smaller batch size in run-tests.php when appropriate

- When valgrind is used, communication overhead is relatively small,
so just use a batch size of 1.
- If this is running a

Use smaller batch size in run-tests.php when appropriate

- When valgrind is used, communication overhead is relatively small,
so just use a batch size of 1.
- If this is running a small enough number of tests,
reduce the batch size to give batches to more workers.
(Previously, if there were 90 tests and -j8,
only 3 of 8 workers would get a batch of size 32 or less.
After this change, the batch size is 12 or less)

Closes GH-5098

show more ...


# 549f55fc 20-Jan-2020 Tyson Andre

Don't start unnecessary processes with run-tests.php -j

If there's only 2 files to test, then only start 2 workers instead of N.

If there's only 1 file, then avoid parallelism entir

Don't start unnecessary processes with run-tests.php -j

If there's only 2 files to test, then only start 2 workers instead of N.

If there's only 1 file, then avoid parallelism entirely.
A separate option such as `--force-parallel` could be added
if this turns out to be something developers would want to do
when debugging test failures.

show more ...


# 59b3ab82 21-Jan-2020 Nikita Popov

Avoid some @count() suppressions in run-tests.php


Revision tags: php-7.3.14RC1, php-7.4.2RC1
# 718fc4ce 05-Jan-2020 Christoph M. Becker

Use IS_WINDOWS


# 10c420f8 05-Jan-2020 Christoph M. Becker

Replace fakemail with minimal PHP script


# 64633044 05-Jan-2020 Christoph M. Becker

Unify mail related tests for *nix and Windows

Currently mail related tests are split for *nix and Windows (if there
are even Windows versions). The basic difference is that the *nix

Unify mail related tests for *nix and Windows

Currently mail related tests are split for *nix and Windows (if there
are even Windows versions). The basic difference is that the *nix
variants set the INI directive sendmail_path to just write the email to
disk, while the Windows tests use ext/imap. The latter tests are way
more verbose, and such duplicated tests are generally a pain point.
Furthermore, the Windows tests are much slower, and could not be run
without ext/imap being available.

We therefore introduce a small fakemail application, which basically
works like `tee <path> >/dev/null`, and which will be shipped with the
Windows tests packs. fakemail.exe would also need to be added to the
PHP binary SDK, so these tests could be run during developments.

To cater to the remaining differences, we also introduce support for
`{MAIL:<path>}` placeholders in the INI sections to run-tests.php. How
to use this can be seen in mail_basic.phpt, which is currently the only
modified test case, because these tests are yet supposed to fail on
Windows, due to the missing fakemail.exe in the PHP SDK.

show more ...


Revision tags: php-7.4.1, php-7.2.26, php-7.3.13, php-7.4.1RC1
# e87dc325 10-Dec-2019 Nikita Popov

Set zend.exception_ignore_args=0 in run-tests.php

Any existing tests are going to be written under this assumption...


Revision tags: php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12, php-7.4.0RC6
# 9c4b989c 08-Nov-2019 Fabien Villepinte

Make test runner runnable without arguments

The default PHP executable was not set when no args were provided.

Closes GH-4894.


Revision tags: php-7.3.12RC1, php-7.2.25RC1, php-7.4.0RC5
# 26579db4 28-Oct-2019 Fabien Villepinte

Define IS_WINDOWS in the test runner

Avoid code duplication

Closes GH-4866.


Revision tags: php-7.1.33, php-7.2.24, php-7.3.11, php-7.4.0RC4
# c1da10b7 10-Oct-2019 Nikita Popov

Set display_startup_errors=0 when running skipif

Now that we're displaying errors in skipif, suppress this particular
category. Otherwise we get warnings in the SKIPIF of tests with

Set display_startup_errors=0 when running skipif

Now that we're displaying errors in skipif, suppress this particular
category. Otherwise we get warnings in the SKIPIF of tests with
EXTENSION where the extension does not exist, and there's no way
to suppress them.

show more ...


Revision tags: php-7.3.11RC1, php-7.2.24RC1
# 8cdab9b2 07-Oct-2019 Christoph M. Becker

Bail out if JUNIT is not enabled

Otherwise we would try to access an array element of `false`, which
issues a notice as of PHP 7.4.0. This would happen, for instance, for
bug63447_0

Bail out if JUNIT is not enabled

Otherwise we would try to access an array element of `false`, which
issues a notice as of PHP 7.4.0. This would happen, for instance, for
bug63447_001.phpt if CGI is not available.

show more ...


# 53077217 07-Oct-2019 Christoph M. Becker

Delete temporary .post files of run-tests.php

Commit 5649267[1] changed run-tests.php to only delete .post files for
passing tests. However, that code wouldn't be exercised at all, sinc

Delete temporary .post files of run-tests.php

Commit 5649267[1] changed run-tests.php to only delete .post files for
passing tests. However, that code wouldn't be exercised at all, since
`run_test()` already returned, so we move the deletion upwards.

[1]
<http://git.php.net/?p=php-src.git;a=commit;h=5649267b257c78e46a934434c0bff894e0b5b694>

show more ...


# 7d90f486 01-Oct-2019 Nikita Popov

Require a space ofter run-tests "warn"

We don't want to treat a PHP "Warning: " as a run-tests warn.


Revision tags: php-7.4.0RC3
# e49593a7 28-Sep-2019 Fabien Villepinte

Mark test as borked when skipif produces invalid output

SKIPIF section should either output nothing, or start with a
supported keyword like "skip". Mark all tests that don't do so as

Mark test as borked when skipif produces invalid output

SKIPIF section should either output nothing, or start with a
supported keyword like "skip". Mark all tests that don't do so as
BORKED.

show more ...


# 5d6e923d 24-Sep-2019 Gabriel Caruso

Remove mention of PHP major version in Copyright headers

Closes GH-4732.


12345678910>>...31