Commit Graph

382 Commits

Author SHA1 Message Date
Zoe Slattery
b9eb13ad8a More changes to allow the same tests to be used with PHP5 and PHP6 2008-12-06 11:59:36 +00:00
Scott MacVicar
43149a8c1c Support versions of valgrind from SVN. The version is shown as 3.4.0.SVN 2008-11-06 03:08:58 +00:00
Johannes Schlüter
35db77d890 Add %S and %A to EXPECTF, they work like %s and %a but match empty strings, too 2008-10-19 18:04:35 +00:00
Rob Richards
2c830929da Windows requires SystemRoot env var to run tests 2008-09-30 13:21:17 +00:00
Arnaud Le Blanc
85d781f41d Fix cwd when running tests out of tree with ZTS builds (fixes #45837) 2008-09-12 14:14:52 +00:00
Arnaud Le Blanc
38af9b5535 run-tests.php: Added %u|b% placeholder, like %unicode|string%, for array
keys in var_dump() output.
2008-09-08 09:23:24 +00:00
Marcus Boerger
c5bbb0803f - Environment handling seems to have changed to respect unicode... so we
have to convert everything to binary before passing it along. A bunch of
  tests suffer from this change in behavior as well. Can anyone explain to
  me what was changed and why?
2008-08-30 11:24:56 +00:00
Felix De Vliegher
f5234099cd Added %unicode_string_optional% for differences in output between PHP 5 and 6 2008-08-29 10:25:35 +00:00
Jani Taskinen
f4fdb1ce27 - No unnecessary errors please 2008-08-14 23:29:59 +00:00
Jani Taskinen
79c452f969 - No need to load any php.ini here 2008-08-05 16:25:31 +00:00
Felipe Pena
8a4278ed25 - Fixed undefined variable 2008-08-02 13:39:26 +00:00
Antony Dovgal
ffb5b88be7 fix typo 2008-07-25 09:55:51 +00:00
Moriyoshi Koizumi
ea0ef45de2 - Allow the results of a partial run to be saved when -s option is explicitly
specified.
2008-07-25 09:32:06 +00:00
Jani Taskinen
fb2d20eeba - Revert accidental commit. 2008-07-24 21:39:23 +00:00
Felipe Pena
8e1b4a55cc - Added TSRMLS_DC to apply_func_args_t and zend_hash_apply_with_arguments. 2008-07-24 19:50:23 +00:00
Lars Strojny
8e5f71dc94 Allowing "%unicode|string%" as a placeholder. In 6, this placeholder is resolved
to "unicode", in <6 to "string". This allows to easily write portable tests.
Patch by uw
2008-07-23 16:10:14 +00:00
Felipe Pena
c5062c2a1b - The error level must be E_ALL | E_STRICT. 2008-07-22 19:53:00 +00:00
Steph Fox
02d764eedf - Add missing help text 2008-07-22 09:34:40 +00:00
Jani Taskinen
c98e8379c8 Sync with PHP 5.3 (might not work 100% yet due to huge inconsistencies AND bugs in PHP 2008-07-21 16:07:57 +00:00
Jani Taskinen
a3c478c0e2 - This is still available in HEAD, so keep the override here! 2008-07-21 10:55:13 +00:00
Hannes Magnusson
5919165375 Add E_USER_DEPRECATED (patch by Lars Strojny) 2008-07-21 09:36:21 +00:00
Nuno Lopes
06d18783f5 MFB: increase pcre.backtrack_limit 2008-07-08 18:18:49 +00:00
Antony Dovgal
b5017ae85d fix run-tests.php failure when no custom php.ini passed 2008-07-03 10:24:44 +00:00
Olivier Hill
97b7c3fb61 MFB: Fix parse error 2008-07-02 15:01:08 +00:00
Pierre Joye
4ae8364dec - fix make test TESTS=... and dynamic extension usage on windows 2008-07-02 12:46:48 +00:00
Henrique do Nascimento Angelo
e4bcc3fb48 Fix the script to correctly determine the extensions to be tested 2008-06-12 21:59:25 +00:00
Steph Fox
e39a404fef - Tidy up loose ends in diff and exp output
- All test output now has *nix line endings (only diffs didn't in 5_3)
2008-06-12 12:02:01 +00:00
Antony Dovgal
7b2837f810 remove oops 2008-06-12 10:38:49 +00:00
Steph Fox
64e5300fb7 - Some calls to file_put_contents() need FILE_BINARY, others choke on it. You tell me. 2008-06-12 09:38:50 +00:00
Steph Fox
7644677208 - more cs/ws fixes 2008-06-11 17:41:13 +00:00
Steph Fox
fbcbb85cbc - binary safety 2008-06-11 16:48:41 +00:00
Steph Fox
018f493cf3 - kill unicode.semantics checks 2008-06-11 15:42:06 +00:00
Steph Fox
09dd52d7b6 - code beauty (ws/cs) 2008-06-11 14:35:08 +00:00
Felipe Pena
5a0d288d52 - Suppressed fwrite() warning.
- Removed the doubled test name in borked message.
- Fixed the bogus borked message when test file is empty or fgets() fails.
2008-05-27 19:20:39 +00:00
Zoe Slattery
857f2b6570 Added --XFAIL-- section 2008-05-25 16:12:27 +00:00
Felipe Pena
3665899dba - Remove check for unicode.semantics 2008-05-21 14:01:31 +00:00
Antony Dovgal
19e44a3234 fix run-tests.php (Felipe) 2008-05-21 13:02:35 +00:00
Nuno Lopes
dfb8b00838 MFB: detect duplicate sections 2008-03-17 17:20:27 +00:00
Lars Strojny
b9a3da8839 Using new magic constant __DIR__ in run-tests.php 2008-03-05 20:11:35 +00:00
Felipe Pena
7e53d6f8f4 New E_ALL value 2008-02-23 18:41:31 +00:00
Nuno Lopes
8413735505 fix ===DONE=== with windows EOLs 2008-02-08 16:47:20 +00:00
Marcus Boerger
fb34f9bc56 - Detect versions of valgrind that have an appendix to their verion number
- Show whether valgrind is being used in test header
2008-01-15 13:03:22 +00:00
Marcus Boerger
56e8b761b7 - Show info for CL and CGI if both are going to be used 2008-01-06 16:47:50 +00:00
Greg Beaver
b61e2d4703 remove potential preg warnings if --EXPECTHEADERS-- is combined with --EXPECTF-- or --EXPECTRE-- 2008-01-05 21:39:39 +00:00
Greg Beaver
0e5371eea7 implement --FILE_EXTERNAL-- section for using an external file as --FILE--, use CGI for --EXPECTHEADERS--, fix --POST_RAW-- 2008-01-05 21:04:55 +00:00
Sebastian Bergmann
3c94f05aea MFB: Leftover: Bump copyright year. 2008-01-01 06:22:15 +00:00
Dmitry Stogov
a84b22d125 Fixed %f regex 2007-12-25 12:06:53 +00:00
Raghubansh Kumar
7deb552a07 Changing the regex for %f so the it will match e-, e+ and e. 2007-12-24 04:20:15 +00:00
Hannes Magnusson
02663e3456 MFB5.3: - Allow to specify php executable on commandline
MFB5.3: - Allow to check the out,exp and diff results on console while executing the tests
2007-12-17 11:34:55 +00:00
Antony Dovgal
5040c2131c add support for Valgrind 3.3.0 (which doesn't have --log-file-exactly option) 2007-12-12 09:20:41 +00:00