History log of /PHP-8.4/run-tests.php (Results 176 – 200 of 784)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# e2ed7e67 16-Jul-2019 Christoph M. Becker

Allow multiple cache instances per user/host on Windows

Formerly, there was at most a single OPcache instance per user and the
so called system ID (which is determined from the PHP versi

Allow multiple cache instances per user/host on Windows

Formerly, there was at most a single OPcache instance per user and the
so called system ID (which is determined from the PHP version).
Sometimes multiple OPcaches might be desired, though, particularly for
unrelated CLI scripts, which may even be necessary (e.g. for our test
suite in parallel mode).

We therefore introduce a new INI directive `opcache.cache_id` which
allows to configure independent OPcache instances for the same user.

We also use `GetUserNameW()` instead of `php_win32_get_username()`,
because the latter retrieves the user name encoded in the
`default_charset`, which can obviously yield different results for
different charsets, leading to OPcache "incompatibilities". Slightly
worse, some characters may not even be encodeable in the
`default_charset` and would be replaced by question marks, which could
result in different users sharing the same OPcache.

We also refactor, and re-use existing APIs to avoid duplicated code.

show more ...


# f5e47718 13-Jul-2019 Peter Kokot

Remove checks for always enabled spl and pcre

Closes GH-4397


# c02dfddd 11-Jul-2019 Nikita Popov

Include test name in JUnit testcase name

Azure does not show the classname attribute in any convenient way,
and the file name is the part we usually care about.


# 3fa9f9cf 10-Jul-2019 Nikita Popov

Add CONFLICTS to recognized sections

It does nothing on 7.3, but this makes it easier to write tests in
3rd party extensions.


# 54dd762f 20-Jun-2019 Nikita Popov

Set up asan+ubsan scheduled build on azure

Also adds an --asan flag to run-tests.php to setup all the necessary
environment variables. Some tests are marked as skipped because they
a

Set up asan+ubsan scheduled build on azure

Also adds an --asan flag to run-tests.php to setup all the necessary
environment variables. Some tests are marked as skipped because they
are incompatible with asan or too slow.

I'm basing this on the DEBUG_ZTS build, which seems to give us the
most mileage.

show more ...


# b195412b 27-Jun-2019 Nikita Popov

run-tests: Don't pass --INI-- settings to --SKIPIF--

If we're testing ini settings that cause startup failures, we'll
never get to that SKIPIF block...

Also change settings2para

run-tests: Don't pass --INI-- settings to --SKIPIF--

If we're testing ini settings that cause startup failures, we'll
never get to that SKIPIF block...

Also change settings2param to return a value instead of modifying
(to a different type no less!) in place.

show more ...


# 74a7d008 21-Jun-2019 Nikita Popov

run-tests: Don't die unnecessarily

die/exit leak memory, don't use them if we don't need to.


# 3a36e68c 24-Jun-2019 Nikita Popov

Don't force USE_ZEND_ALLOC=0 in run-tests.php

USE_ZEND_ALLOC=0 is useful not just for valgrind ... we should not
force USE_ZEND_ALLOC=1 if the user explicitly disabled it.


# f8a68fd9 13-Jun-2019 Nikita Popov

Add test for bug #78106

Also add PHP_TEST_EXTRA_ARGS environment variable, which allows
to pass on -c, -d etc flags provided by run-tests.php. Otherwise
we won't get the built-in ser

Add test for bug #78106

Also add PHP_TEST_EXTRA_ARGS environment variable, which allows
to pass on -c, -d etc flags provided by run-tests.php. Otherwise
we won't get the built-in server to run with opcache.

show more ...


# bed8ae1d 05-Jun-2019 Joe Watkins

junit testcase classname is used as filename on azure


# 22213de1 01-Jun-2019 Joe Watkins

only clear when showing in parallel runner


# 4ef7f709 31-May-2019 Nikita Popov

Fix NO_INTERACTION handling in parallel test runner

This printing shouldn't depend on NO_INTERACTION, the variable that
controls this is SHOW_ONLY_GROUPS.


# dd2bf448 31-May-2019 Nikita Popov

Add junit support for parallel test runner


# 137747bd 31-May-2019 Nikita Popov

run-tests: Remove redundant 'suites' key

We don't have nestead testsuites or similar, so drop this confusing
key.


# a3879208 30-May-2019 Joe Watkins

have parallel test runner respect NO_INTERACTION


# 24e22eb3 29-May-2019 Nikita Popov

Run sapi tests when running all tests


# 72c330f1 28-May-2019 Craig Duncan

Restore the execute bit for run-tests.php

It looks like this was accidentally removed in 03f15f705ad30ce2dde7f7b2ab087a132b859ba0


# 979e7d0f 23-May-2019 Joe Watkins

fix notice in run-tests


# e1151c95 23-May-2019 Joe Watkins

run-tests improvements:
Add XLEAK section, this is made necessary by the support
for valgrind tools other than memcheck.
XLEAK is to a leaking test what XFAIL is to a failing test.

run-tests improvements:
Add XLEAK section, this is made necessary by the support
for valgrind tools other than memcheck.
XLEAK is to a leaking test what XFAIL is to a failing test.
Tidy up summary a little to exclude Expected Fail and Expected Leak
when there are no expected fail/leaks

show more ...


# 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 ...


12345678910>>...32