1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-12-11 08:59:46 +01:00
Commit Graph

22 Commits

Author SHA1 Message Date
Nikita Popov
146411bb86 Ignore one more test...
This one is passing on Windows because the extra \r makes the
opening tag actually valid. Fails on Linux though.
2018-09-21 12:41:10 +02:00
Nikita Popov
e12891a9db Ignore failures in complex flexible doc string tests
These test nesting of flexible heredoc strings. This is too hard for
us to emulate and we do not expect to see these patterns used in the
wild.
2018-09-21 12:35:11 +02:00
Nikita Popov
fd93690705 Test against more recent php-src tarball 2018-09-21 11:40:36 +02:00
Nikita Popov
6a273c9fbd Remove Autoloader class 2018-01-25 23:13:53 +01:00
Gabriel Caruso
4366aa2fb0 [CS] Use __DIR__ instead of dirname(__FILE__) 2018-01-13 16:02:14 +01:00
Nikita Popov
7254040998 Test FPPP roundtrip in test_old 2017-11-04 12:37:34 +01:00
Nikita Popov
301c34373d Update run-php-src to use 7.1.0 2016-12-11 16:47:47 +01:00
Nikita Popov
4252ffa43e Run test_old against php-src on travis 2016-04-07 06:39:29 +02:00
Nikita Popov
fa6a17755a Add two files to test_old skip list
The parse after pretty printing differs here, because these tests
contain nop (;) statements, which the pretty printer does not
preserve.
2016-04-07 11:58:36 +09:00
Nikita Popov
1565a2815d Add --verbose option to test_old/run.php 2016-04-05 19:19:20 +09:00
Nikita Popov
49253c5dbb Fix test_old/run.php error message 2015-07-09 12:38:30 +02:00
Nikita Popov
f3f24e03ae Support running against PHP 7 testsuite 2015-06-13 19:09:24 +02:00
nikic
523e024ba0 Fix a number of other typos 2014-02-12 17:47:34 +01:00
nikic
f82862ec9c Port library to use namespaces, with BC for old names 2014-02-06 20:29:35 +01:00
nikic
db18906dfc Rename PrettyPrinter_Zend to PrettyPrinter_Default 2013-01-15 17:43:36 +01:00
nikic
5438cc0d69 Add progress indicator for test_old.
I hate waiting for something without seeing at least *some* output.
2012-05-05 12:22:23 +02:00
nikic
c3cf3f29bd Adjust test_old to use new Lexer injection method 2012-05-04 10:16:52 +02:00
nikic
584f6b0ab3 Make old testrunner PHP 5.2 compatible 2012-01-15 16:55:01 +01:00
nikic
c51991bc3c Improve test run.php
* Add two more ignored tests (not real pretty print differences)
 * Measure more times
2011-10-30 12:16:31 +01:00
nikic
d9b5814074 run tests with all errors enabled 2011-10-20 22:36:10 +02:00
nikic
dc4182277f Exclude fatal errors one some files from PHP tests 2011-10-19 20:04:57 +02:00
nikic
460f981e84 Improve tests
* Script is now at test_old/run.php and is CLI only
* Accepts a test type (Symfony or PHP) and a path to the test files as arguments
* For the PHP testsuite files that expect a parse error are not tested (though Fatal errors are tested, so there are still 49 parse test failures)
* Removed testExpressions.php as this is covered in the PHP testsuite
2011-10-19 17:55:37 +02:00