summaryrefslogtreecommitdiff
path: root/run-tests.php
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-7.2' into PHP-7.3Levi Morrison2019-07-251-2/+4
|\ | | | | | | | | * PHP-7.2: Remove .post files only for passing tests
| * Remove .post files only for passing testsLevi Morrison2019-07-251-2/+4
| | | | | | | | This allows the sh script for failing tests with --POST-- to work
* | Add CONFLICTS to recognized sectionsNikita Popov2019-07-101-1/+1
| | | | | | | | | | It does nothing on 7.3, but this makes it easier to write tests in 3rd party extensions.
* | Merge branch 'PHP-7.2' into PHP-7.3Nikita Popov2019-06-131-1/+3
|\ \ | |/
| * Add test for bug #78106Nikita Popov2019-06-131-1/+3
| | | | | | | | | | | | 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.
* | Restore the execute bit for run-tests.phpCraig Duncan2019-05-281-0/+0
| | | | | | | | It looks like this was accidentally removed in 03f15f705ad30ce2dde7f7b2ab087a132b859ba0
* | Merge branch 'PHP-7.2' into PHP-7.3Christoph M. Becker2019-05-081-3/+2
|\ \ | |/ | | | | | | * PHP-7.2: Add {TMP} placeholder for PHPT INI sections
| * Add {TMP} placeholder for PHPT INI sectionsChristoph M. Becker2019-05-081-3/+2
| | | | | | | | | | | | | | | | | | 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.
| * Trim trailing whitespace in source code filesPeter Kokot2018-10-131-2/+2
| |
* | Small tweaks to php scriptsGabriel Caruso2018-07-141-6/+6
| |
* | Update http to httpsDusta2018-06-251-1/+1
| |
* | Revert braces inside conditionNat Zimmermann2018-06-131-1/+1
| |
* | Use .= where possibleNat Zimmermann2018-06-091-2/+2
| |
* | Remove unncecessary paranthesesNat Zimmermann2018-06-091-5/+5
| |
* | Remove unused variable old_phpNat Zimmermann2018-06-091-6/+0
| |
* | Fix property nameNat Zimmermann2018-06-091-1/+1
| |
* | Use hrtime() for timing testsAnatol Belski2018-05-311-4/+20
| |
* | Remove unused binary_pipes optionPeter Kokot2018-05-281-1/+1
| | | | | | | | | | Option binary_pipes was added in PHP 6 which was then refactored and this option was removed.
* | Small improvements to run-testsGabriel Caruso2018-03-231-26/+13
| | | | | | | | | | | | | | | | * 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
* | Merge branch 'PHP-7.2'Stanislav Malyshev2018-03-191-1/+3
|\ \ | |/ | | | | | | * PHP-7.2: Set tests exit status by defaul - also in other instance.
| * Merge branch 'PHP-7.1' into PHP-7.2Stanislav Malyshev2018-03-191-1/+3
| |\ | | | | | | | | | | | | * PHP-7.1: Set tests exit status by defaul - also in other instance.
| | * Set tests exit status by defaul - also in other instance.Stanislav Malyshev2018-03-191-1/+3
| | |
* | | Merge branch 'PHP-7.2'Stanislav Malyshev2018-03-181-1/+3
|\ \ \ | |/ / | | | | | | | | | * PHP-7.2: Set tests exit status by default.
| * | Merge branch 'PHP-7.1' into PHP-7.2Stanislav Malyshev2018-03-181-1/+3
| |\ \ | | |/ | | | | | | | | | * PHP-7.1: Set tests exit status by default.
| | * Set tests exit status by default.Stanislav Malyshev2018-03-181-1/+3
| | | | | | | | | | | | | | | | | | 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
| | * year++Xinchen Hui2018-01-021-1/+1
| | |
| * | year++Xinchen Hui2018-01-021-1/+1
| | |
* | | correct condition for leaks in run-tests.phpJoe Watkins2018-03-021-1/+1
| | |
* | | add ability to show valgrind output with --show-memJoe Watkins2018-03-021-4/+7
| | |
* | | remove support for string|unicode in testsGabriel Caruso2018-02-221-21/+1
| | |
* | | [ci skip] run-tests.php: add missing put sectionMichael Wallner2018-02-201-1/+1
| | |
* | | Fix conjugationAnatol Belski2018-02-201-2/+2
| | |
* | | Report unknown sections in run-tests.phpGabriel Caruso2018-02-191-0/+14
| | |
* | | Better error message when fail to find test fileGabriel Caruso2018-02-151-4/+4
| | |
* | | year++Xinchen Hui2018-01-021-1/+1
| | |
* | | Fix junit XML formatAnatol Belski2017-12-021-18/+19
| | | | | | | | | | | | | | | | | | | | | 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.
* | | Rework junit outputAnatol Belski2017-12-021-5/+31
| | | | | | | | | | | | | | | | | | | | | - 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
* | | Patch core for PCRE2 supportAnatol Belski2017-11-131-1/+1
| | | | | | | | | | | | RFC https://wiki.php.net/rfc/pcre2-migration
* | | Implemented request #62055 (Make run-tests.php support --CGI-- sections)Christoph M. Becker2017-10-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Merge branch 'PHP-7.2'Joe Watkins2017-10-291-2/+2
|\ \ \ | |/ / | | | | | | | | | * PHP-7.2: make sure run-tests reports exit status upon prerequisite error
| * | Merge branch 'PHP-7.1' into PHP-7.2Joe Watkins2017-10-291-2/+2
| |\ \ | | |/ | | | | | | | | | * PHP-7.1: make sure run-tests reports exit status upon prerequisite error
| | * Merge branch 'PHP-7.0' into PHP-7.1Joe Watkins2017-10-291-2/+2
| | |\ | | | | | | | | | | | | | | | | * PHP-7.0: make sure run-tests reports exit status upon prerequisite error
| | | * make sure run-tests reports exit status upon prerequisite errorJoe Watkins2017-10-291-2/+2
| | | |
| | * | Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2017-08-191-4/+8
| | |\ \ | | | |/ | | | | | | | | | | | | * PHP-7.0: Fix issues with phpt and EXTENSION on windows (BUG 75042)
| | | * Fix issues with phpt and EXTENSION on windows (BUG 75042)John Boehr2017-08-191-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| | * | Revert "fixing run-tests.php for variables_order="GPCS""Anatol Belski2017-05-151-96/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | fixing run-tests.php for variables_order="GPCS"Matt Ficken2017-05-151-72/+96
| | | |
* | | | Consolidate Valgrind logic into a single var and classSara Golemon2017-08-231-43/+61
| | | |
* | | | constify some vars that are never changed once setSara Golemon2017-08-231-29/+26
|/ / /
* | | Fix issues with phpt and EXTENSION on windows (BUG 75042)John Boehr2017-08-181-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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