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

Add request_parse_body() function

RFC: https://wiki.php.net/rfc/rfc1867-non-post

This function allows populating the $_POST and $_FILES globals for non-post
requests. This avoid

Add request_parse_body() function

RFC: https://wiki.php.net/rfc/rfc1867-non-post

This function allows populating the $_POST and $_FILES globals for non-post
requests. This avoids manual parsing of RFC1867 requests.

Fixes #55815
Closes GH-11472

show more ...


# 379e913e 06-Jan-2024 Ilija Tovilo

Fix run-tests.php differ calculateCommonSubsequence for EXPECTF

calculateCommonSubsequence should not contain regexes.

Fixes GH-13083
Closes GH-13084


# 60abd94b 02-Jan-2024 Jorg Adam Sowa

Changed value passed to show_start to $start_timestamp (#13064)


# 948b2bc2 29-Dec-2023 Jorg Adam Sowa

Add miliseconds do the test time output (#12729)

Also replaced microtime() with hrtime()


# 36a5f4ff 07-Dec-2023 Kamil Tekiela

Improve code quality in run-tests.php (#12889)


# 58712e06 16-Nov-2023 Ilija Tovilo

Retry tests on deadlock

Closes GH-12693


# 6d596409 09-Nov-2023 Ilija Tovilo

Automatically mark tests as flaky

Marking all of these tests as flaky is annoying, so attempt to recognize them
automatically.

Closes GH-12638


# 2ca142ec 14-Nov-2023 Daniil Gentili

Improve jit tests

Closes GH-12425


# 06b009c5 31-Oct-2023 Marcos Marcolin <48370677+marcosmarcolin@users.noreply.github.com>

Declare missing types and other minor improvements in run-tests.php (#12573)

* refactor: declare missing types and other minor improvements.

* refactor: declare missing types and ot

Declare missing types and other minor improvements in run-tests.php (#12573)

* refactor: declare missing types and other minor improvements.

* refactor: declare missing types and other minor improvements.

* refactor: declare missing types and other minor improvements.

* refactor: declare missing types and other minor improvements.

---------

Co-authored-by: Marcos Marcolin <marcos@ixcsoft.com.br>

show more ...


# 3fd1e57a 30-Oct-2023 Marcos Marcolin <48370677+marcosmarcolin@users.noreply.github.com>

Remove unused code in run-tests.php (#12553)

* chore: remove unused code in run-tests.php

* chore: remove unused code in run-tests.php

---------

Co-authored-by: Ma

Remove unused code in run-tests.php (#12553)

* chore: remove unused code in run-tests.php

* chore: remove unused code in run-tests.php

---------

Co-authored-by: Marcos Marcolin <marcos@ixcsoft.com.br>

show more ...


# ad1fbde7 27-Oct-2023 Marcos Marcolin <48370677+marcosmarcolin@users.noreply.github.com>

chore: removes redundant validation of $repeat, as it is the while condition. (#12521)


# bae30682 16-Sep-2023 Christian Clauss

[ci skip] Update run-tests.php: Fix typo

Closes GH-12225.


# f4a6a6d0 30-Aug-2023 Ilija Tovilo

Increase run-tests.php timeout for asan

Closes GH-12087


# f2c16b7b 29-Aug-2023 Ilija Tovilo

Make unrepeatable tests retriable

This was an error in thinking on my side. The reason these tests are
unrepeatable is because --repeat executes the same request in the same process,

Make unrepeatable tests retriable

This was an error in thinking on my side. The reason these tests are
unrepeatable is because --repeat executes the same request in the same process,
and does not run the CLEAN section in between runs. This is not the case when
retrying tests.

We could potentially make CLEAN tests repeatable by including the CLEAN section
in the tested script. This does however not work for all tests (e.g. tests that
set open_basedir).

Closes GH-12072

show more ...


# e199104a 22-Aug-2023 Peter Kokot

Fix passing null to parameter of type string (#12014)

This fixes builds without cgi or phpdbg:
./configure --disable-cgi --disable-phpdbg
make
./sapi/cli/php run-tests.php

Fix passing null to parameter of type string (#12014)

This fixes builds without cgi or phpdbg:
./configure --disable-cgi --disable-phpdbg
make
./sapi/cli/php run-tests.php

Otherwise, deprecation warnings (since PHP-8.1) are emitted:
Deprecated: escapeshellarg(): Passing null to parameter #1 ($arg) of
type string is deprecated in run-tests.php...

show more ...


# d397fec1 07-Jul-2023 Ilija Tovilo

Skip xleak tests on asan (#11610)

Fixes GH-11077


# 849fdcae 26-May-2023 Ilija Tovilo

Implement flaky test section

This re-uses the already used for automatic retesting. That's certainly better
than XFAIL.

Closes GH-11325


# f249958c 27-May-2023 Ilija Tovilo

[skip ci] Add more patterns to run-tests.php retry list

CURL: 404: Page Not Found
IMAP: Can't create a temporary mailbox: [ALREADYEXISTS] Mailbox already exists
Sockets: socket_bind(

[skip ci] Add more patterns to run-tests.php retry list

CURL: 404: Page Not Found
IMAP: Can't create a temporary mailbox: [ALREADYEXISTS] Mailbox already exists
Sockets: socket_bind(): Unable to bind address [98]: Address already in use

show more ...


# 11597d18 20-Mar-2023 Ilija Tovilo

Add retry mechanism in run-tests.php

We have lots of spurious failures in CI, many of them with the "all" CONFLICT.
We're limiting the retrying to specific error messages. In the future

Add retry mechanism in run-tests.php

We have lots of spurious failures in CI, many of them with the "all" CONFLICT.
We're limiting the retrying to specific error messages. In the future we may
also provide a FLAKY section to retry specific tests.

Closes GH-10892

show more ...


# fc88f155 03-Apr-2023 Ilija Tovilo

Add zend_alloc XLEAK support

In the future we may want to use a different exit code to warn for tests that
didn't leak.

Closes GH-10999


# 50f58c89 02-Apr-2023 Ilija Tovilo

Add ASAN XLEAK support

Only disable LSAN instead of skipping the test. This way we can still detect
memory issues which is arguably more important anyway.

Closes GH-10996


# ed0b773c 01-Apr-2023 Ilija Tovilo

[skip ci] Avoid infinite loop in differ

TBH I don't understand why this can happen here but not in sebastian/diff. I'll
have to take a closer look.


# b9f8b696 27-Mar-2023 Ilija Tovilo

Fix one more differ direct comparison (through in_array)


# c58c2666 23-Mar-2023 Ilija Tovilo

Fix direct comparison in run-tests.php differ


# d8544926 23-Mar-2023 Ilija Tovilo

[skip ci] Fix var_dump statement in run-tests.php


12345678910>>...33