| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
* PHP-7.2:
Remove .post files only for passing tests
|
| |
| |
| |
| | |
This allows the sh script for failing tests with --POST-- to work
|
| |
| |
| |
| |
| | |
It does nothing on 7.3, but this makes it easier to write tests in
3rd party extensions.
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
It looks like this was accidentally removed in 03f15f705ad30ce2dde7f7b2ab087a132b859ba0
|
|\ \
| |/
| |
| |
| | |
* PHP-7.2:
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.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Option binary_pipes was added in PHP 6 which was then refactored
and this option was removed.
|
| |
| |
| |
| |
| |
| |
| |
| | |
* substr instead of preg_match
* cast instead of settype
* remove $borked and check if $bork_info isn't null to report borked
tests
* remove some error control operators
|
|\ \
| |/
| |
| |
| | |
* PHP-7.2:
Set tests exit status by defaul - also in other instance.
|
| |\
| | |
| | |
| | |
| | | |
* PHP-7.1:
Set tests exit status by defaul - also in other instance.
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.2:
Set tests exit status by default.
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.1:
Set tests exit status by default.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Use REPORT_EXIT_STATUS=0 or REPORT_EXIT_STATUS=no to prevent it.
Based on discussion in https://www.mail-archive.com/internals@lists.php.net/msg94141.html
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The junit XML format is purely documented, some existings spec like
http://llg.cubic.org/docs/junit/ also provide an XSD. The testsuite
tag included into itself doesn't seems to be correct, instead only a
flat list is included into "testsuites" tag.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- testcase classname attribute is closest to put the filename
- if tests run from php checkout, don't include the full path
- remove filename from the testcase description, as it's included into
classname
|
| | |
| | |
| | |
| | | |
RFC https://wiki.php.net/rfc/pcre2-migration
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Not regarding the CGI section might even been seen as a bug, and since
server-tests.php appears to broken, anway[1][2], we implement it for
run-tests.php in the way as described[3] for server-tests.php, i.e.
respective tests are skipped if no CGI executable is found.
[1] <https://github.com/php/php-src/pull/222#commitcomment-2064387>
[2] <https://github.com/php/php-src/pull/1811#issuecomment-256677997>
[3] <https://qa.php.net/phpt_details.php#cgi_section>
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.2:
make sure run-tests reports exit status upon prerequisite error
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.1:
make sure run-tests reports exit status upon prerequisite error
|
| | |\
| | | |
| | | |
| | | |
| | | | |
* PHP-7.0:
make sure run-tests reports exit status upon prerequisite error
|
| | | | |
|
| | |\ \
| | | |/
| | | |
| | | |
| | | | |
* PHP-7.0:
Fix issues with phpt and EXTENSION on windows (BUG 75042)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Commands are not properly escaped for windows
* Specifying "-n" to check loaded modules causes "Module already loaded"
warning
* Extensions to be loaded need the "php_" prefix on Windows
Bug: https://bugs.php.net/bug.php?id=75042
Add back -n flag to fetch loaded extensions in run-tests.php
Add test for phpt EXTENSIONS directive
Add a second test for bug 75042
Add test to test loading of nonexistent shared module
with the EXTENSIONS phpt block
Pass ini settings when checking loaded extensions
Fix skipifs
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This reverts commit c1d57186976e75a2a54f7bd167a77e2872cadc6a.
The commit seems to be inappropriate as it contains parts from master,
which have nothing to do with the variables order issue. Obviously patch
applied to wrong branch or alike.
|
| | | | |
|
| | | | |
|
|/ / / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Commands are not properly escaped for windows
* Specifying "-n" to check loaded modules causes "Module already loaded"
warning
* Extensions to be loaded need the "php_" prefix on Windows
Bug: https://bugs.php.net/bug.php?id=75042
Add back -n flag to fetch loaded extensions in run-tests.php
Add test for phpt EXTENSIONS directive
Add a second test for bug 75042
Add test to test loading of nonexistent shared module
with the EXTENSIONS phpt block
Pass ini settings when checking loaded extensions
|