Commit Graph

438 Commits

Author SHA1 Message Date
Felipe Pena
78742a33a7 - Replace possible esc char to <esc> in the XML output 2011-12-01 15:47:58 +00:00
Felipe Pena
43a373437d - Added JUnit output format option
patch by: Ferenc Kovacs (tyrael at php.net)
2011-11-26 20:18:03 +00:00
Felipe Pena
350325d42a - Fixed bug #55788 (test redirects should abide SHOW_ONLY_GROUPS in run-tests.php)
patch by: tyrael at php.net
2011-11-26 17:56:43 +00:00
Felipe Pena
3ee878169b - Clean up 2011-11-26 17:30:03 +00:00
Johannes Schlüter
e58f72b6a3 Improve speed of finding tests (no more CVS, we're on svn now) 2011-09-01 14:52:55 +00:00
Hannes Magnusson
958326c843 Move the XFAILED printout way up the list so we can actually notice the really failing ones 2011-09-01 13:06:12 +00:00
Hannes Magnusson
2da2b54899 Seeing thousands of PASS tests flying by is meaningless.
Add an option to only print certain result groups.
2011-09-01 11:00:51 +00:00
Hannes Magnusson
84fc76e94c Remove annoying extra newline on XFAIL summaries
and sync text to trunk
2011-08-31 10:09:54 +00:00
Nuno Lopes
8f54a74d60 terminate timeouting processes with SIGKILL (9) 2011-08-09 21:53:44 +00:00
Felipe Pena
5f75a28d01 - Fixed bug #55080 (Deprecated call in run--test.php)
patch by: fedora at famillecollet dot com
2011-07-01 23:13:53 +00:00
Christopher Jones
d70a9f988d Add http_proxy env var support to run-tests.php result submission 2011-06-24 23:10:37 +00:00
Felipe Pena
1f991c8e42 - Possible fix for Bug #54108 (valgrind can not be found if located outside of system's default PATH) 2011-02-27 17:55:39 +00:00
Christopher Jones
588ec26d2f Show XFAIL reasons (Daniel Convissor) 2011-02-11 01:37:06 +00:00
Christopher Jones
ff5dffdabb rm trailing whitespace 2011-02-11 01:34:03 +00:00
Derick Rethans
e08473da6c - Don't lower case setting names; some of them actually have upper case
characters.
2011-01-31 23:11:42 +00:00
Jani Taskinen
0e72e5897e - Sync with trunk 2010-11-13 10:18:35 +00:00
Adam Harvey
104bf57ae7 Loosen the valgrind version check slightly in run-tests.php so that it works
with the packaged valgrind in Ubuntu 10.04.
2010-09-30 11:16:45 +00:00
Kalle Sommer Nielsen
cee97080d1 Fixed bug #50836 (run_tests.php alerts syntax errors while testing session) 2010-08-16 20:56:00 +00:00
Sebastian Bergmann
9ba1e81665 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Jani Taskinen
4bba459d8f - Sync (and KEEP it synced!) 2009-12-21 15:44:58 +00:00
Jani Taskinen
03a47e9b03 - Fix problem with SKIPIF failing to skip in some cases (deprecated warnings f.e.) 2009-12-11 07:34:06 +00:00
Greg Beaver
5c4609021f sync run-tests.php with revision 286499 changes making php 6 tests with EXPECTF that can have arbitrary binary data in output work 2009-07-29 10:06:55 +00:00
David Soria Parra
2331863a5c MFH: Reset TZ environment variable. Some tests assume that it's not set. 2009-07-07 23:05:17 +00:00
Arnaud Le Blanc
90d1875421 MFH: set default value of "precision" ini setting,
many tests depend on this
2009-05-20 09:22:50 +00:00
Hannes Magnusson
82c49a50f4 MFH: Print out the WARNed section 2009-05-18 14:08:23 +00:00
Jani Taskinen
c56690dbc3 MFB52: sync 2009-04-25 17:12:40 +00:00
Hannes Magnusson
65640d2c1a MFH: Make it possible to run on 5.2 2009-04-16 13:41:25 +00:00
Zoe Slattery
1df58d629a refixing %r in run-tests.php (thanks iain lewis for the fix) 2009-03-12 20:42:46 +00:00
Zoe Slattery
2c7d95c5a6 Added %r section 2009-03-03 10:53:44 +00:00
Antony Dovgal
24163ce0b2 fix ws 2009-01-05 11:14:43 +00:00
Antony Dovgal
fde1c3d332 MFH: only add "# original source" if a redirect is active 2009-01-05 09:19:09 +00:00
Antony Dovgal
fab5be7f21 MFH: fix PDO and other 'redirected' tests - add that "# original source" line only if the test fails 2009-01-04 15:56:45 +00:00
Zoe Slattery
89743669d2 Fixed bug #46845 Test expected to fail, but pass, don't cause error 2008-12-31 17:35:50 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Lars Strojny
1f4fd81a27 Fixing strict warning when null is passed 2008-12-11 02:37:36 +00:00
Jani Taskinen
b2a2aaff93 MFH 2008-12-09 15:21:15 +00:00
Jani Taskinen
733abc019a - Sync with HEAD 2008-12-08 12:36:10 +00:00
Zoe Slattery
dcdd18e01e More changes to allow the same tests to be used with PHP5 and PHP6 2008-12-06 12:00:37 +00:00
Scott MacVicar
895eb06945 MFH: Support versions of valgrind from SVN. The version is shown as 3.4.0.SVN 2008-11-06 03:09:41 +00:00
Felipe Pena
ade487e693 - Opss, reverted accidental changes 2008-11-03 13:07:28 +00:00
Felipe Pena
7a37fa2d6b - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:19:39 +00:00
Johannes Schlüter
0c6da3760b Add %S and %A to EXPECTF, they work like %s and %a but match empty strings, too 2008-10-19 18:05:43 +00:00
Rob Richards
db5da11f8a MFH: Windows requires SystemRoot env var to run tests 2008-09-30 13:21:48 +00:00
Arnaud Le Blanc
343d958b25 MFH: Fix cwd when running tests out of tree with ZTS builds (fixes #45837) 2008-09-12 14:15:05 +00:00
Arnaud Le Blanc
163202ac88 MFH: run-tests.php: Added %u|b% placeholder, like %unicode|string%, for
array keys in var_dump() output.
2008-09-08 09:23:51 +00:00
Marcus Boerger
063ed94f28 - MFH Fix -p handling 2008-08-30 11:25:34 +00:00
Felix De Vliegher
6476e43eef Added %unicode_string_optional% for differences in output between PHP 5 and 6 2008-08-29 10:25:54 +00:00
Jani Taskinen
99d3c31788 Silencio for some unnecessary errors 2008-08-14 20:53:56 +00:00
Jani Taskinen
b1511db3e1 MFH 2008-08-05 16:25:42 +00:00
Felipe Pena
593429aa15 - MFH: Fixed undefined variable 2008-08-02 13:39:42 +00:00
Antony Dovgal
3770038a66 fix typo 2008-07-25 09:55:45 +00:00
Moriyoshi Koizumi
89762bb594 - MFH: Allow the results of a partial run to be saved when -s option is
explicitly specified.
2008-07-25 09:32:23 +00:00
Lars Strojny
48013172bc Allowing "%unicode|string%" as a placeholder (backport from HEAD) 2008-07-23 16:11:00 +00:00
Felipe Pena
1fb3313f75 - MFH: The error level must be E_ALL | E_STRICT. 2008-07-22 19:59:37 +00:00
Steph Fox
6fc2b09285 MFH Add missing help text 2008-07-22 09:35:55 +00:00
Jani Taskinen
745e63f6cf MFH: Sync with PHP 6. 2008-07-21 16:08:15 +00:00
Jani Taskinen
4bc58bc957 - More stupid WS etc fixes. Plus the missing help text place holders for Steph to fill up.. 2008-07-21 11:05:23 +00:00
Jani Taskinen
24f2ac9617 MFH: Stupid WS fixes..Thanks Steph! 2008-07-21 10:48:31 +00:00
Hannes Magnusson
4cc73804a7 Run the tests with E_STRICT again
# Why isn't E_STRICT in E_ALL?
2008-07-21 09:59:37 +00:00
Hannes Magnusson
d619b57efa MFH: Add E_USER_DEPRECATED (patch by Lars Strojny) 2008-07-21 09:41:00 +00:00
Pierre Joye
2a172dcc8c - fix the fix 2008-07-16 15:41:58 +00:00
Nuno Lopes
ae8fcea231 increase pcre.backtrack_limit so that the phpinfo.phpt test passes on my computer.
we should really consider increase the default of this limit.. (but not the recursion one though)
2008-07-08 18:18:08 +00:00
Olivier Hill
a9175febd6 Fix parse error 2008-07-02 15:00:21 +00:00
Pierre Joye
7a98fdc429 - MFH: fix make test TESTS=... and dynamic extension usage on windows 2008-07-02 12:47:06 +00:00
Dmitry Stogov
e13bb4c5f6 Reverted part of Steph's patch (stdin stream must be closed to make script finish) 2008-06-24 06:05:29 +00:00
Pierre Joye
6d63a0d9d1 - remove debug code 2008-06-19 21:09:43 +00:00
Steph Fox
c1b8065dcd Oops. 2008-06-19 21:08:56 +00:00
Steph Fox
0af1218770 Two new options for Travis to come to terms with:
- --set-timeout <n> sets the timeout in seconds for the call to stream_select() during system_with_timeout()
- -x sets an environmental variable, SKIP_SLOW_TESTS, which can be checked for during a SKIPIF clause

and just for a special treat, you can have it from my working branch this time.
2008-06-19 21:08:13 +00:00
Steph Fox
9f44542741 Two new options for Travis to come to terms with:
- --set-timeout <n> sets the timeout in seconds for the call to stream_select() during system_with_timeout()
- -x sets an environmental variable, SKIP_SLOW_TESTS, which can be checked for during a SKIPIF clause
2008-06-19 21:03:36 +00:00
Antony Dovgal
a591b8bdc8 fix typo 2008-05-26 11:33:38 +00:00
Zoe Slattery
0cf47e6f11 Added --XFAIL-- section 2008-05-25 16:05:04 +00:00
Nuno Lopes
95b627f29b detect test cases with duplicated sections 2008-03-17 17:18:19 +00:00
Lars Strojny
da494df864 Using new magic constant __DIR__ in run-tests.php 2008-03-05 20:10:12 +00:00
Felipe Pena
aafff71c86 New E_ALL value 2008-02-24 12:17:25 +00:00
Ilia Alshanetsky
77efd89617 Disable mbstring overload 2008-02-12 18:23:14 +00:00
Nuno Lopes
46b9c23008 fix ===DONE=== with windows EOLs 2008-02-08 16:46:23 +00:00
Marcus Boerger
330c8b49f8 - MFH valgrind detection, note in header 2008-01-15 13:03:54 +00:00
Marcus Boerger
041bf3518c - MFH Show info for CL and CGI if both are going to be used 2008-01-06 16:48:11 +00:00
Greg Beaver
27ee8f8806 remove potential preg warnings if --EXPECTHEADERS-- is combined with --EXPECTF-- or --EXPECTRE-- 2008-01-05 21:39:53 +00:00
Greg Beaver
f61ba6295a implement --FILE_EXTERNAL-- section for using an external file as --FILE--, use CGI for --EXPECTHEADERS--, fix --POST_RAW-- 2008-01-05 21:05:06 +00:00
Sebastian Bergmann
9044a48291 Leftover: Bump copyright year. 2008-01-01 06:15:40 +00:00
Dmitry Stogov
94a50ae0c9 Fixed %f regex 2007-12-25 12:06:34 +00:00
Raghubansh Kumar
e54a855955 Changing the regex for %f so the it will match e-, e+ and e. 2007-12-24 04:23:04 +00:00
Hannes Magnusson
4de3c0b985 Check if we know which php executable we should use
# Fixes weird test failures when TEST_PHP_EXECUTABLE isn't set
2007-12-17 11:00:16 +00:00
Antony Dovgal
f5d0e57bcc MFH: add support for Valgrind 3.3.0 (which doesn't have --log-file-exactly option) 2007-12-12 09:20:54 +00:00
Marcus Boerger
d28117190f - - Allow to check the out,exp and diff results on console while executing the tests 2007-12-05 14:54:08 +00:00
Marcus Boerger
bbf7260cde - Allow to specify php executable on commandline 2007-12-05 13:55:46 +00:00
Jani Taskinen
f83871a71d MFH:- Fixed bug #43035: ignore_repeated_errors=On causes lot of tests to fail 2007-11-21 08:20:22 +00:00
Zoe Slattery
727a35f1ca MFH: Changing the regex for %f so the it will match E-, E+ and E. 2007-11-12 18:26:37 +00:00
Marcus Boerger
552b964e22 - Add hash bang line 2007-11-06 14:38:10 +00:00
Nuno Lopes
40085b06f2 changes to run-tests.php:
- change %s to %a
- make %s = [^\r\n]+
- fix tests accordingly
2007-09-14 15:28:03 +00:00
Jani Taskinen
52bb8f78a0 MFH:- Allow using * in test filenames to match pattern 2007-07-31 21:29:21 +00:00
Jani Taskinen
8684e7495f MFH: - Made build system less major version dependant to ease MFB/MFH 2007-07-26 22:45:59 +00:00
Dmitry Stogov
a3ba415e91 Fixed "make test" 2007-07-04 10:16:22 +00:00
Dmitry Stogov
e45dab8c49 Fixed CGI tests 2007-06-29 09:49:21 +00:00
Antony Dovgal
0b157a6f84 enable display_startup_errors, fix test 2007-06-05 10:59:25 +00:00
Antony Dovgal
ccd16d09c0 MFH 2007-05-27 19:23:09 +00:00
Ilia Alshanetsky
146a600711 Added support for --GZIP_POST-- and --DEFLATE_POST-- that allows emulation
of compressed POST input
2007-05-07 18:40:33 +00:00
Antony Dovgal
e03eadf633 MFH: add USE_ZEND_ALLOC env var 2007-05-02 15:41:06 +00:00
Antony Dovgal
ea7f23b053 MFH 2007-04-23 11:19:15 +00:00