Commit Graph

427 Commits

Author SHA1 Message Date
Rasmus Lerdorf
a2ce8b3f97 Simple fix that just quotes the filenames in run-tests to support paths with spaces.
Fixes bug #60734
2012-01-28 02:43:31 +00:00
Michael Wallner
ed635be54f find a php-cgi which is a sibling of the php executable 2012-01-25 19:36:36 +00:00
Derick Rethans
33714e6d82 This changes adds the --EXTENSION-- section to .phpt files as
described in http://marc.info/?t=132248616300007&r=1&w=2.
2011-12-06 05:44:54 +00:00
Felipe Pena
609bce4d04 - Replace possible esc char to <esc> in the XML output 2011-12-01 15:47:58 +00:00
Felipe Pena
f923ca16c3 - Added JUnit output format option
patch by: Ferenc Kovacs (tyrael at php.net)
2011-11-26 20:18:03 +00:00
Felipe Pena
adf6003bdd - 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
bfe5c51c27 - Clean up 2011-11-26 17:30:03 +00:00
Johannes Schlüter
781db10c48 Improve speed of finding tests (no more CVS, we're on svn now) 2011-09-01 14:52:55 +00:00
Hannes Magnusson
33fed1066c 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
d9d1fb0cee 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
658c920e4c Remove annoying extra newline on XFAIL summaries
and sync text to trunk
2011-08-31 10:09:54 +00:00
Nuno Lopes
58da15422c terminate timeouting processes with SIGKILL (9) 2011-08-09 21:53:44 +00:00
Felipe Pena
93acedd1ff - 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
6bf101db54 Add http_proxy env var support to run-tests.php result submission 2011-06-24 23:10:37 +00:00
Felipe Pena
474dc5675c - 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
6e7e5dcde9 Show XFAIL reasons (Daniel Convissor) 2011-02-11 01:37:06 +00:00
Christopher Jones
f0bc6f849b rm trailing whitespace 2011-02-11 01:34:03 +00:00
Derick Rethans
73035c04af - Don't lower case setting names; some of them actually have upper case
characters.
2011-01-31 23:11:42 +00:00
Derick Rethans
e9dc8785a9 - Added the writing of .sh files so that we can run the tests (including all
INI settings) in one go.
2010-10-15 12:56:45 +00:00
Adam Harvey
81faf213c3 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
0cc294687e Fixed bug #50836 (run_tests.php alerts syntax errors while testing session) 2010-08-16 20:56:00 +00:00
Sebastian Bergmann
22f4ef45fe sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Jani Taskinen
953c96d0d8 - Sync (and KEEP it synced!) 2009-12-21 15:44:58 +00:00
Dmitry Stogov
dc3bb4674d Fixed test engine to support non utf-8 tests 2009-12-16 11:16:03 +00:00
Jani Taskinen
fc622cadee - Fix problem with SKIPIF failing to skip in some cases (deprecated warnings f.e.) 2009-12-11 07:34:06 +00:00
Greg Beaver
61b79e7776 restore removed line (thanks Jani) 2009-07-29 16:14:07 +00:00
Greg Beaver
c880f7e5c4 make phar tests pass in php 5.2, prepare for release of pecl/phar 2.0.0, merge Gwynne's TSRM fix to phar_object.c to other branches 2009-07-29 10:14:04 +00:00
Greg Beaver
8d3a04a804 fix EXPECTF tests that have binary in their output by always processing output and expected output as binary 2009-07-29 09:22:57 +00:00
David Soria Parra
ff6cf302c2 Reset TZ environment variable. Some tests assume that it's not set. 2009-07-07 23:04:45 +00:00
Arnaud Le Blanc
b40d754d99 set default value of "precision" ini setting,
many tests depend on this
2009-05-20 09:22:24 +00:00
Hannes Magnusson
34907a2aaa Print out the WARNed section (contains f.e. passing XFAIL tests) 2009-05-18 14:07:59 +00:00
Jani Taskinen
43670e41bb MFB52: sync 2009-04-25 17:12:56 +00:00
Hannes Magnusson
a186602114 Make it possible to run on PHP5.2 2009-04-16 13:40:47 +00:00
Hannes Magnusson
8906ef059d Sync WS with 5.3 2009-04-16 13:39:31 +00:00
Zoe Slattery
48056b6e52 refixing %r in run-tests.php (thanks iain lewis for the fix) 2009-03-12 20:39:02 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Zoe Slattery
b5810c959a Added %r section 2009-03-03 10:52:56 +00:00
Antony Dovgal
9c51e8e977 fix ws 2009-01-05 11:14:37 +00:00
Antony Dovgal
9a06642ab0 only add "# original source" if a redirect is active 2009-01-05 09:18:57 +00:00
Antony Dovgal
dac8ee1cb6 fix PDO and other 'redirected' tests - add that "# original source" line only if the test fails 2009-01-04 15:56:38 +00:00
Zoe Slattery
665ee392ef Fixed bug #46845 Test expected to fail, but pass, don't cause error 2008-12-31 17:32:54 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Lars Strojny
229297cc9a MFB: Fixing strict warning 2008-12-11 02:38:10 +00:00
Jani Taskinen
d5f137073f - Use version id instead of defined() since latter does not work with magic constants 2008-12-09 15:20:58 +00:00
Jani Taskinen
8f245aaf94 - Sync with all branches (same run-tests.php everywhere 2008-12-08 12:36:38 +00:00
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