Commit Graph

40 Commits

Author SHA1 Message Date
Yasuo Ohgaki
734899e615 Enable CGI binary for testing. CGI binary should be used when it's
available, since some tests cannot be performed by CLI. (And
many of them are just failing now)
Fixed SAPI and VERSION output.
2002-04-12 01:34:06 +00:00
Yasuo Ohgaki
68f63a012f WS fix 2002-03-19 02:59:15 +00:00
Wez Furlong
b98074ee86 fix problems with cgi/cli sapi when running tests 2002-03-17 13:16:35 +00:00
Yasuo Ohgaki
7f8b2a6533 Fix PHP version and sapi printed so that it does not print bogus
version and sapi name.
2002-03-12 06:43:15 +00:00
Yasuo Ohgaki
270a907bad Do not search php binary in search path, since we are not testing older builds.
Print SAPI used.
2002-03-12 05:33:03 +00:00
Yasuo Ohgaki
7457b8a7ed Use CGI binary when CGI SAPI is there.
Make "php run-tests.php" work with cli SAPI.
# Anyone mind if I change spaces to tabs?
# Currently, it is using spaces and it's should use
# tabs just like C source.
2002-03-12 05:18:25 +00:00
Stig Bakken
8802148fcd * work with sapi/cli 2002-03-02 02:37:13 +00:00
Sebastian Bergmann
90613d2282 Maintain headers. 2002-02-28 08:29:35 +00:00
Sebastian Bergmann
38933514e1 Update headers. 2001-12-11 15:32:16 +00:00
foobar
76fcdc1afb Fix these to give correct results even if register_globals=off or
register_argc_argv=off.
2001-10-23 11:11:29 +00:00
Stig Bakken
5cd46bb2e0 * typo 2001-08-27 20:37:06 +00:00
Stig Bakken
fb610787ff * add the directory where php.exe was found to PATH to help Windows
find its DLLs
2001-08-27 20:29:33 +00:00
Stig Bakken
d1d848c171 * Windows fix 2001-08-27 20:17:36 +00:00
Stig Bakken
2186ced3a6 * MTH (merge _to_ head) 2001-08-27 16:39:49 +00:00
Hartmut Holzgraefe
800b863310 once again, make test would not work right with error_reporting=E_ALL 2001-07-11 13:19:07 +00:00
Stig Bakken
48c02a2e93 * use ereg functions instead of preg
* send stderr to the bit bucket
2001-05-27 09:09:00 +00:00
Daniel Beulshausen
3d5b27d46a make run-tests work under win32 too
# this whole thing is pretty ugly...
2001-05-02 16:39:04 +00:00
Stig Bakken
0edbf4242f * using CGI -C option, you no longer have to specify "full" path to tests 2001-04-16 23:28:58 +00:00
James Moore
af02c17d9f Output php version at end of tests. 2001-03-29 12:07:37 +00:00
André Langhorst
ec31b454d5 I don't like to commit this over and over either, but this client definitely seems to dislike branches 2001-03-21 16:01:52 +00:00
André Langhorst
f438554953 fighting against the cvs client, it does not want to let the win32 binary safe change go in... 2001-03-21 13:00:33 +00:00
André Langhorst
3d9871dcf4 win32 fixes again 2001-03-21 12:52:32 +00:00
Sebastian Bergmann
b132c36325 Disable maximum execution time for tests. 2001-03-21 06:33:00 +00:00
André Langhorst
3ec4aa11d1 1) fixed tests on *both* win32+linux
2) made tests more sophisticated (checking against compiled in modules)
3) minor changes
4) win32 improvements
2001-03-21 06:04:36 +00:00
Andi Gutmans
eb6ba01d1c - Fix copyright notices with 2001 2001-02-26 06:11:02 +00:00
Sascha Schumann
14c195a6d8 Fix "make test" in VPATH environments 2000-12-24 14:24:04 +00:00
Hartmut Holzgraefe
a0acd8054a removed a warning when testing against a single .phpt file 2000-12-15 23:18:50 +00:00
Stig Bakken
73155d10c4 * run-tests.php: fixed a few bugs, including the POST/GET problem reported by
Stas
2000-12-15 02:57:11 +00:00
Stig Bakken
a70b01b96e * rename write* to dowrite* to avoid clash with ext/sockets
* sapi/cgi seems to ignore command-line options when running in "real"
  CGI mode, need to find a way to pass include_path to it...
2000-12-13 14:24:15 +00:00
Stig Bakken
fe9290e4a9 * output fix for skipped tests 2000-12-08 12:57:11 +00:00
Stig Bakken
749ed8568a added TODO comment 2000-12-08 00:21:09 +00:00
Andre Langhorst
5604ae2de4 made run-tests.php windows compatible 2000-12-06 18:29:03 +00:00
Hartmut Holzgraefe
5f683e7d78 changed run-tests.php to use 'php -q' instead of 'php -f' 2000-12-03 10:45:53 +00:00
Stig Bakken
fc4b704fca Test descriptions showed up blank, fixed. 2000-10-29 07:19:35 +00:00
Hartmut Holzgraefe
86c0d81253 have you ever tried to run the regression tests with error_reporting=E_ALL ?
now it will run smoothly without all theese 'undefined ...' warnings
2000-10-23 07:40:05 +00:00
Stig Bakken
e2cb8ec02c * don't require "POST" section to be present (TEST, FILE and EXPECT
are enough)
2000-09-09 00:37:39 +00:00
Stanislav Malyshev
f34430de8a Remove deprecated call-time reference 2000-09-03 09:37:20 +00:00
Stig Bakken
1bb90f5805 * all tests should pass now (expect for the interbase stuff that I haven't
had the chance to test)
2000-08-31 22:21:47 +00:00
Stig Bakken
fad9bab629 * Added "test" make target so you can do "make test" in any directory.
* Added copyright header to run-test.php
2000-08-29 09:12:44 +00:00
Stig Bakken
315f4f5658 @PHP 3 regression testing framework re-born (Stig)
Took the old PHP 3 regression testing framework and rewrote it in PHP.
Should work on both Windows and UNIX, however I have not tested it on
Windows.  See tests/README for how to write tests.  Added the PHP 3
tests and converted most of them.
2000-08-27 19:46:06 +00:00