Commit Graph

193 Commits

Author SHA1 Message Date
Ilia Alshanetsky
8ecdc90763 Fixed generate_array_diff(). 2004-03-30 23:58:47 +00:00
Jan Lehnardt
775387e32d - be more verbose 2004-03-29 07:49:32 +00:00
Marcus Boerger
4da754e868 Add ability to pass -n to the executed php 2004-03-28 23:04:53 +00:00
Marcus Boerger
0019c60902 Show progress 2004-03-28 14:12:14 +00:00
Marcus Boerger
e1127cb514 Make run-tests.php work with xdebug being loaded.
# Lots of ppl use that as a built-in extension already.
2004-03-09 14:39:35 +00:00
Ilia Alshanetsky
a0664d54d1 Fixed division by zero warning. 2004-01-16 15:17:37 +00:00
foobar
ccfc46b0aa - Happy new year and PHP 5 for rest of the files too..
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Marcus Boerger
a572d79e0a Fix data source 2003-12-29 22:18:40 +00:00
Marcus Boerger
d001928aa2 Align output if one section shows 100% and display percentages when not
counting skipped tests.
2003-12-29 16:07:08 +00:00
Ilia Alshanetsky
bdc30961d0 Properly detect bundled libtool when PHP is built in a separate directory.
Detect version of system libtool, which is used by phpize.
2003-12-23 18:20:46 +00:00
Derick Rethans
f7b3e30fe1 - Remove debug info :) 2003-12-16 15:00:24 +00:00
Derick Rethans
76ec811b35 - Added %e modifier which gets replaced by the current value of
DIRECTORY_SEPARATOR.
2003-12-16 14:53:43 +00:00
Wez Furlong
c92a2219ef Add optional array argument to proc_open() to specify additional
options for the child process.
The first option is "suppress_errors" which will disable any
dialog boxes that arise from missing DLL's and suppress the
GPF dialog.
Use this new feature in the test suite, so that crashing tests don't block the test run; useful for un-attended execution.
2003-12-05 13:45:00 +00:00
Marcus Boerger
c3fddcab62 Fix tests for E_STRICT and check for E_STRICT in run-tests.php. 2003-11-30 13:57:20 +00:00
Marcus Boerger
3cb67f1719 This check is no longer needed (Andrei) 2003-10-02 18:11:10 +00:00
Marcus Boerger
3658ad4c3f Update necessary test INIs 2003-09-04 14:41:10 +00:00
Moriyoshi Koizumi
8fe4a53877 Ensure CGI binary works like CLI.
# This kind of mess should be removed if other better way is found.
2003-08-11 20:02:05 +00:00
Marcus Boerger
2a13d3f9f7 Simplify 2003-08-10 11:46:03 +00:00
foobar
726eb46767 CS fix 2003-08-10 04:23:02 +00:00
Marcus Boerger
e62926dd5b Better diffing 2003-08-09 20:02:02 +00:00
Marcus Boerger
06b089d63b Complain about borked tests instead of spitting out errors 2003-08-09 17:21:19 +00:00
Marcus Boerger
fe37ce8f66 Don't show matching regex as different 2003-08-09 11:57:02 +00:00
Zeev Suraski
9ff7dff10d Shorten output to prevent messup 2003-08-05 08:39:01 +00:00
Zeev Suraski
fec3fc9331 Remove non-standard vim6 option 2003-08-05 08:32:58 +00:00
Zeev Suraski
0770772385 Display the currently running test 2003-08-05 08:31:56 +00:00
Moriyoshi Koizumi
9fe5094d77 Fix run-test.php so it can correctly handle skip conditions. 2003-07-25 05:51:57 +00:00
Ilia Alshanetsky
64d6421885 When encountering a test that users GET/POST make run-tests.php use CGI
sapi if it is avaliable.
If CLI sapi is not avaliable print a clear error when make test is executed.
2003-07-24 17:44:16 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Marcus Boerger
070803a482 Allow optional directories 2003-06-01 18:34:03 +00:00
Marcus Boerger
7ad9732a94 MFB: This is needed though 2003-05-31 14:10:27 +00:00
Marcus Boerger
aa87c89d35 MFB: Showing info/warning once is enough 2003-05-31 12:14:41 +00:00
Marcus Boerger
bbc3c6089b Add php_uname() to output 2003-05-30 12:41:51 +00:00
Marcus Boerger
23e5004132 Execute --SKIPIF-- like --FILE-- 2003-05-29 19:11:51 +00:00
Marcus Boerger
4980461081 Executing tests once is enough 2003-05-23 22:35:15 +00:00
Marcus Boerger
2537e01c77 Allow writing a list of failed tests.
# use php run-tests.php -h for more.
2003-05-23 22:01:38 +00:00
Marcus Boerger
8cd4933d31 Add warning level for tests.
# You set a test to warning by return "warn <description>" from
# the --SKIPIF-- section. But this only works when you supply
# a reason why it is only a warning.
# Warnings are not called for FAILed tests of corse and hence a
# test result with not FAIL but SKIP/PASS/WARN results is mailed
# as a PASS.
2003-05-23 20:51:09 +00:00
Marcus Boerger
57046f4e3e MFB: info in mail too 2003-05-17 23:58:03 +00:00
Marcus Boerger
1939d27aca The env-var TEST_PHP_EXECUTABLE is needed in tests 2003-04-19 17:22:53 +00:00
Marcus Boerger
f97f219fa7 Include ldd output 2003-04-05 12:16:29 +00:00
Marcus Boerger
d94c98c3f2 if TEST_PHP_EXECUTABLE=auto then use ./sapi/cli/php 2003-03-30 14:38:48 +00:00
Derick Rethans
56a172cc04 - Add the exponent to the float modifier 2003-03-28 21:04:45 +00:00
James Cox
485ee3914a updating for new list 2003-03-21 17:17:54 +00:00
Stig Bakken
0e6fca4f22 * email address change 2003-03-18 12:06:09 +00:00
foobar
9f3a46a12e Be sure we get the correct version.. 2003-03-17 12:43:29 +00:00
foobar
908a942a38 added the version info to be send as-is to buildtest-process 2003-03-17 12:24:09 +00:00
Marcus Boerger
9a6db15d21 summary for selective tests if more than one
# maybe i'll change to present summary only when at least one dir selected
2003-03-08 16:28:35 +00:00
Marcus Boerger
3981be30a8 do not use $GLOBAL[] 2003-03-04 19:32:06 +00:00
Marcus Boerger
cbb3e6fd2f fix problem in current HEAD
# strange why on earth does $GLOBALS['cwd'] produce a warning here?
# however we already have a global declarations so we use it for cwd, too.
2003-03-02 15:12:12 +00:00
Derick Rethans
0799d2db84 - Add check for proc_open() being available 2003-02-18 20:07:59 +00:00
Wez Furlong
0a18a9d744 A add much more useful select(2) implementation than is provided by
windows sockets.  The winsock implementation will only work with sockets;
our implementation works with sockets and file descriptors.
By association, stream_select() will now operate correctly with files, pipes and sockets.

This change required linking against the winsock2 library.  In terms of
compatibility, only older versions of windows 95 do not have winsock2
installed by default.  It is available as a redistributable file, and is most likely installed by any OS patches (eg: Internet Explorer) applied by the user.

Also, add a win32 compatible pipe test when opening a stream from a pipe.  This test will only work on NT, win2k and XP platforms.  Without this test, interleaved fread() and select() calls would cause the read buffer to be clobbered.  I will be working on a fix for this issue for win9x.
2003-02-16 03:48:49 +00:00