#
e79adf63 |
| 09-Aug-2020 |
Tyson Andre |
Use short array values in run-tests.php The run-tests.php file already requires php 7 syntax. Done automatically with phpcbf with no other changes done/planned. This file is alr
Use short array values in run-tests.php The run-tests.php file already requires php 7 syntax. Done automatically with phpcbf with no other changes done/planned. This file is already using short arrays in other places. run-tests has already been substantially refactored in PHP 8.0 compared to PHP 7.4. This makes merge conflicts more likely, but changes to run-tests.php on older versions are less frequent bug fixes.
show more ...
|
Revision tags: php-8.0.0beta1, php-7.4.9, php-7.2.33, php-7.3.21 |
|
#
5d72e40d |
| 31-Jul-2020 |
George Peter Banyard |
Add colours to test results in run-tests.php The test runner will attempt to colourise the result of each test The --no-color option is introduced to disable this feature.
Add colours to test results in run-tests.php The test runner will attempt to colourise the result of each test The --no-color option is introduced to disable this feature. Closes GH-5901
show more ...
|
#
11274f53 |
| 06-Aug-2020 |
George Peter Banyard |
Add type information to test-runner Closes GH-5942
|
Revision tags: php-8.0.0alpha3, php-7.4.9RC1, php-7.3.21RC1, php-7.4.8, php-7.2.32, php-8.0.0alpha2, php-7.3.20 |
|
#
07db6415 |
| 25-Jun-2020 |
Tyson Andre |
[RFC] Make string length for getTraceAsString() configurable Add a `zend.exception_string_param_max_len` ini setting. (same suffix as `log_errors_max_len`) Allow values between
[RFC] Make string length for getTraceAsString() configurable Add a `zend.exception_string_param_max_len` ini setting. (same suffix as `log_errors_max_len`) Allow values between 0 and 1000000 bytes. For example, with zend.exception_string_param_max_len=0, "" would represent the empty string, and "..." would represent something longer than the empty string. Previously, this was hardcoded as exactly 15 bytes. Discussion: https://externals.io/message/110717 Closes GH-5769
show more ...
|
#
69b1f3d5 |
| 08-Jul-2020 |
Dmitry Stogov |
Use small counter values for testing
|
Revision tags: php-8.0.0alpha1, php-7.4.8RC1, php-7.3.20RC1 |
|
#
5d7ff253 |
| 18-Jun-2020 |
Paul Dragoonis |
Removing HTML Functionality from run-tests.php As discussed on GH-5632, the HTML functionality does not appear to be in active use. For HTML rendering of test results, it is suggeste
Removing HTML Functionality from run-tests.php As discussed on GH-5632, the HTML functionality does not appear to be in active use. For HTML rendering of test results, it is suggested to instead use the JUnit integration, in combination with your favorite JUnit viewer. Closes GH-5705.
show more ...
|
#
c260613c |
| 16-Jun-2020 |
Nikita Popov |
Optimize parallel test runner startup Don't connect to each worker individually: First spawn all processes and then establish connections in any order. This avoids a ~1s wait wh
Optimize parallel test runner startup Don't connect to each worker individually: First spawn all processes and then establish connections in any order. This avoids a ~1s wait when running on many cores.
show more ...
|
Revision tags: php-7.4.7, php-7.3.19, php-7.4.7RC1, php-7.3.19RC1 |
|
#
d1dde094 |
| 20-May-2020 |
Gerard Roche |
run-tests: refactor
|
#
2ef88f51 |
| 20-May-2020 |
Gerard Roche |
run-tests: echo message and exit if no tests found The test runner currently defaults to running the entire test suite if no selected tests can be found. This can be unexpected.
run-tests: echo message and exit if no tests found The test runner currently defaults to running the entire test suite if no selected tests can be found. This can be unexpected. For example the ext/mysqlnd/ directory has no tests, if you specify that directory when testing the entire test suite will be run. run-tests.php [options] ext/mysqlnd/ Closes GH-5605.
show more ...
|
#
0374cf08 |
| 20-May-2020 |
Nikita Popov |
Add --file-cache-prime/use options to run-tests --file-cache-prime populates the file cache, --file-cache-use uses the file cache. And fix a number of tests to run under file ca
Add --file-cache-prime/use options to run-tests --file-cache-prime populates the file cache, --file-cache-use uses the file cache. And fix a number of tests to run under file cache or disabled timestamp validation.
show more ...
|
#
ec1e8540 |
| 20-May-2020 |
Nikita Popov |
Slightly deduplicate run-tests code
|
#
d2797505 |
| 18-May-2020 |
Derick Rethans |
Put Xdebug 3 into 'off' mode for run-tests.php
|
#
74a4a5ae |
| 18-May-2020 |
Derick Rethans |
Put Xdebug 3 into 'off' mode for run-tests.php
|
#
ecc0a87f |
| 12-May-2020 |
Gerard Roche |
run-tests: extract usage message Put the usage message near the top of the script, into a separate function. Closes GH-5558.
|
#
10edee7f |
| 12-May-2020 |
Gerard Roche |
run-tests: cs fixes (cleanup) I used php-cs-fixer to do the cs fixes. The configuration I used is posted below. The reason I disabled some of the rules is because they create too muc
run-tests: cs fixes (cleanup) I used php-cs-fixer to do the cs fixes. The configuration I used is posted below. The reason I disabled some of the rules is because they create too much noise and would make it difficult to review. But please feel free to close this PR and run the php-cs-fixer yourself. <?php $config = PhpCsFixer\Config::create(); $config->setRiskyAllowed(false); $config->setRules([ '@PSR2' => true, '@Symfony' => true, 'array_syntax' => false, 'binary_operator_spaces' => false, 'blank_line_before_statement' => false, 'concat_space' => false, 'increment_style' => false, 'phpdoc_align' => false, 'single_quote' => false, 'trailing_comma_in_multiline_array' => false, 'unary_operator_spaces' => false, 'yoda_style' => false, ]); $finder = PhpCsFixer\Finder::create(); $finder->in(getcwd()); $finder->exclude('Zend'); $finder->exclude('build'); $finder->exclude('ext'); $finder->exclude('pear'); $finder->exclude('sapi'); $finder->exclude('scripts'); $finder->exclude('win32'); $config->setFinder($finder); return $config; Closes GH-5557.
show more ...
|
#
16f23cd1 |
| 12-May-2020 |
Gerard Roche |
run-tests: remove use of FILE_BINARY constant The FILE_BINARY (and FILE_TEXT) constants are not really valid or useful constants. It looks like they were added in 5.2.7 and have "no effe
run-tests: remove use of FILE_BINARY constant The FILE_BINARY (and FILE_TEXT) constants are not really valid or useful constants. It looks like they were added in 5.2.7 and have "no effect, and are only available for forward compatibility." See: https://www.php.net/manual/en/filesystem.constants.php The default value of the file_put_contents() flags parameter is 0 and FILE_BINARY is set to 0, so removing it doesn't change functionality. P.S. Maybe those constants should be deprecated or removed in 8.0. Closes GH-5556.
show more ...
|
Revision tags: php-7.4.6, php-7.2.31 |
|
#
8cb23734 |
| 30-Apr-2020 |
Christoph M. Becker |
Revert "Show eventual output of clean sections" This reverts commit 5eb4ab07f27c82336d337afa01d02a7bf574adaf. The temporary hack has served its purpose.
|
#
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.
|