History log of /PHP-8.3/run-tests.php (Results 176 – 200 of 765)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 536532c5 22-May-2019 Joe Watkins

add support for valgrind tools to run-tests.php


# 3d0a0f80 08-May-2019 Christoph M. Becker

Add {TMP} placeholder for PHPT INI sections

Several tests use `/tmp` in the `--INI--` section, but this is not
portable. We therefore introduce the `{TMP}` placeholder which
evaluat

Add {TMP} placeholder for PHPT INI sections

Several tests use `/tmp` in the `--INI--` section, but this is not
portable. We therefore introduce the `{TMP}` placeholder which
evaluates to the system's temporary directory using
`sys_get_temp_dir()`.

We also remove the doubtful `strpos()` optimization.

show more ...


# 434388a6 25-Mar-2019 Peter Kokot

Add minimum required PHP version to run-tests.php

This integrates a simple minimum PHP version info in the tool and to
also define the minimum version that the tool syntax should support.


# 071ffa2e 25-Mar-2019 Nikita Popov

Don't use parallel testing with -j1


# 3c619724 25-Mar-2019 Nikita Popov

Drop lightning for concurrent worker count

This looked rather awkward even on terminals that have full unicode
support.


# 936356bf 23-Mar-2019 Tyson Andre

Make run-tests.php compatible with php 7.0-7.2

Motivation:
As an extension author, I want to speed up running tests in php <=7.3,
both locally and in CI (e.g. with valgrind).
Thi

Make run-tests.php compatible with php 7.0-7.2

Motivation:
As an extension author, I want to speed up running tests in php <=7.3,
both locally and in CI (e.g. with valgrind).
This can be done by manually copying php 7.4's run-tests.php script
to replace the one generated by `phpize`

- list() doesn't work in php 7.0
- negative string offset doesn't work in php 7.2

If run-tests.php can be copied from php-src without any manual patches,
that would be the easiest.

Related to #2822 - I didn't see any discussion for/against compatibility
with older php versions

show more ...


Revision tags: php-7.1.27, php-7.3.3, php-7.2.16
# 152e5393 21-Feb-2019 Nikita Popov

Add special "all" conflict

If a test conflicts with "all", then no other tests may be run in
parallel. This is needed for windows_mb_path tests, which rely on
the console codepage, w

Add special "all" conflict

If a test conflicts with "all", then no other tests may be run in
parallel. This is needed for windows_mb_path tests, which rely on
the console codepage, which is shared across all parallel workers.

Also add support for comments in the CONFLICTS section/file.

show more ...


# 967fa51d 20-Feb-2019 Nikita Popov

Don't use uniqid for temporary POST data files

uniqid() is not necessarily unique when multiple testing processes
run in parallel.


# e5304bb6 20-Feb-2019 Nikita Popov

Add a --shuffle mode to run-tests

Makes it easier to find paralellization issues. Of course only works
if the tests aren't order-dependent...


# 57fef275 20-Feb-2019 Nikita Popov

Use PHP_BINARY by default in run-tests.php

You pretty much always want to run with -P, make it the default.


Revision tags: php-7.3.3RC1, php-7.2.16RC1
# c0e15a3b 18-Feb-2019 Nikita Popov

Implement fine-grained conflict handling

Tests can specify conflict keys, either in --CONFLICTS-- or
a per-directory CONFLICTS file. Non-conflicting tests may be run
in parallel.


# 555fb294 19-Feb-2019 Dmitry Stogov

Don't preload tests without --FILE-- section


# b2073253 19-Feb-2019 Dmitry Stogov

Better new-line handling


# fa915614 18-Feb-2019 Nikita Popov

Make parallel run-tests compatible with IO capture tests

Inherit the main stdin/stdout/stderr streams into the worker processes.
We don't talk to workers via these pipes, so there should

Make parallel run-tests compatible with IO capture tests

Inherit the main stdin/stdout/stderr streams into the worker processes.
We don't talk to workers via these pipes, so there shouldn't be a
problem doing this.

show more ...


# 5cde3afd 19-Feb-2019 Dmitry Stogov

Better line handling


# bf51b081 19-Feb-2019 Dmitry Stogov

Filter preloading warning messages


# 5ee81e0b 18-Feb-2019 Andrea Faulds

run-tests.php: fix typo


# 39792f5b 17-Feb-2019 Andrea Faulds

run-tests.php: experimental parallel testing support


# b7b3a600 18-Feb-2019 Nikita Popov

Don't suppress errors during in preload testing


# 6662fb5c 16-Feb-2019 Andrea Faulds

run-tests.php: fix all tab-space indentation inconsistency


# 41fbeb6c 16-Feb-2019 Andrea Faulds

run-tests.php: move all top-level code into a function

Prerequisite for parallelised testing:
https://github.com/php/php-src/pull/2822

Quoth Nikita @
https://github.com/php/

run-tests.php: move all top-level code into a function

Prerequisite for parallelised testing:
https://github.com/php/php-src/pull/2822

Quoth Nikita @
https://github.com/php/php-src/pull/3789#issuecomment-462724550:

> @hikari-no-yume Please feel free to directly commit the first commit
> (to PHP-7.4). That's probably a big and unnecessary source of
> conflicts, and makes reviewing harder as well.

show more ...


# a2e95347 15-Feb-2019 Nikita Popov

Add a --preload testing mode to run-tests.php

Not intended for general use, it has many false positives.


Revision tags: php-7.2.15, php-7.3.2, php-7.2.15RC1
# 92ac598a 22-Jan-2019 Peter Kokot

Remove local variables

This patch removes the so called local variables defined per
file basis for certain editors to properly show tab width, and
similar settings. These are mainly

Remove local variables

This patch removes the so called local variables defined per
file basis for certain editors to properly show tab width, and
similar settings. These are mainly used by Vim and Emacs editors
yet with recent changes the once working definitions don't work
anymore in Vim without custom plugins or additional configuration.
Neither are these settings synced across the PHP code base.

A simpler and better approach is EditorConfig and fixing code
using some code style fixing tools in the future instead.

This patch also removes the so called modelines for Vim. Modelines
allow Vim editor specifically to set some editor configuration such as
syntax highlighting, indentation style and tab width to be set in the
first line or the last 5 lines per file basis. Since the php test
files have syntax highlighting already set in most editors properly and
EditorConfig takes care of the indentation settings, this patch removes
these as well for the Vim 6.0 and newer versions.

With the removal of local variables for certain editors such as
Emacs and Vim, the footer is also probably not needed anymore when
creating extensions using ext_skel.php script.

Additionally, Vim modelines for setting php syntax and some editor
settings has been removed from some *.phpt files. All these are
mostly not relevant for phpt files neither work properly in the
middle of the file.

show more ...


# 0cf7de1c 30-Jan-2019 Zeev Suraski

Remove yearly range from copyright notice


# 38c337f2 30-Jan-2019 Zeev Suraski

Remove year range from copyright notice


12345678910>>...31