summaryrefslogtreecommitdiff
path: root/scripts/dev/bless_tests.php
Commit message (Collapse)AuthorAgeFilesLines
* Support more placeholders in bless_tests.phpNikita Popov2020-09-081-3/+10
| | | | And don't replace trailing --CLEAN-- sections.
* Backport bless_tests.php changes from PHP 8Nikita Popov2020-08-051-3/+168
|
* Also support absolute Windows filenamesChristoph M. Becker2020-06-101-3/+3
| | | | | | | The output normalization of bless_tests.php only detected absolute Unix filenames; we extend this for absolute Windows filenames, regardless of the platform we're running on (tests may have been run on Windows, but bless_tests.php may be run from WSL or a Linux VM, for instance).
* Handle resources used as array keys consistentlyNikita Popov2019-09-271-0/+4
| | | | | | | | Resources used as array keys are generally handled by throwing a notice and converting the resource to the resource handle. The only exception is the [$resource => null] syntax, where this was treated as an illegal offset type instead. However, this also only happened for VM evaluations, the AST evaluator did handle resources correctly.
* Throw notice for plain wrapper fread/fwrite errorsNikita Popov2019-07-251-0/+1
| | | | Similar to what is done for socket read/write errors.
* Improve bless_testsNikita Popov2019-07-121-0/+1
| | | | | If a string var_dump contains a wildcard, also make the length a wildcard.
* Support passing single file to bless_tests.phpNikita Popov2019-02-201-8/+21
| | | | Or a mix of multiple directories/files. Also make the file executable.
* Handle exception patterns in bless_tests.phpNikita Popov2019-02-181-1/+3
|
* Add bless_tests.phpNikita Popov2019-02-111-0/+49
Helper script to perform certain kinds of trivial test updates.