Derick Rethans
4fcc3df5eb
- Fix .exp output
24 years ago
Derick Rethans
f830c481f3
- Show easier parseable and greppable output
24 years ago
Derick Rethans
ede9bd58b7
- Use getenv, as $_ENV is not available when variables_order= in php.ini
does not include "E".
24 years ago
Derick Rethans
d53dd88854
- Drop requirement for php.ini-dist
- Adjust test script to hard code ini settings
24 years ago
foobar
9a010becf1
ws fixes
24 years ago
Sander Roobol
35dc97df3b
Temporary (?) workaround (?) for is_executable() on Windows.
24 years ago
Melvyn Sopacua
bcddd58a92
Add --EXPECTF-- section: 'sprintf' for EXPECT sections. See for usage
example ext/xslt/tests/009.phpt.
# To aid debugging, a little commented section is left in, this can be
# stripped in due time, or properly integrated with some --debugging flag.
# But it's quite useful, when you make such tests.
24 years ago
Rasmus Lerdorf
f32d63a3b3
Add php_ini_scanned_files() so "make test" can tell you when you have
additional .ini files that are scanned.
24 years ago
Marcus Boerger
2e90bbe3c2
Return to old counting where every test is counted (even those of skipped
extensions). Inform about the number of extensions tested and skipped.
This makes the test summary more compareable.
Maybe i'll add a parameter/env-var to skip extension tests. That way we
could fasten tests for changes in the core. But it has to wait some days.
24 years ago
Marcus Boerger
ad120d2e28
$val not in first param to sprintf
24 years ago
foobar
ac1254a59c
unify these files to conform with the new files created by run-tests.php
24 years ago
foobar
fc721174c8
- Run ext/* tests only for those modules that are actually compiled
into the php binary. (faster)
- Skip search of .phpt files if they are passed as parameters
24 years ago
Marcus Boerger
54e066b20b
Unlink output files even if test is skipped.
24 years ago
Marcus Boerger
9ede240057
-reimplemented old style output (.exp, .out)
-implemented diff format output
-delete error logs on success
@Changed regression tests produce selectable error reports. The tests now
@recognize environment variable TEST_PHP_LOG_FORMAT which can
@contain O and E for old style .out and .exp files, L for new .log format and
@D for an internal diff format that does not require systems diff. (Marcus)
#diff output makes it easier to detect the failure on huge or combined tests.
#It was discussed that the php function's diff output has the advantage that
#it is available on every system. Everyone insisting on systems diff may
#use diff on .exp and .out files.
24 years ago
Marcus Boerger
28ebb82c41
Added ARGS section to allow passing arguments to CLI tests
24 years ago
Sander Roobol
ef9014d95d
Don't know what this line was supposed to DO!?!?
24 years ago
Marcus Boerger
02a12b57e9
-additional section INI that allows to set special ini settings on call
by adding '-c foo=bar' strings to php call. Each line must have format
foo=bar. This of cause only works for cli version.
-made sections SKIPIF,INI,GET,POST optional
24 years ago
Marcus Boerger
6ff0a9ee4a
-make it run again
24 years ago
Sander Roobol
fcb692a75d
Made the tests (and not only run-tests.php) actually use php.ini-dist, and
removed unused php.ini file.
24 years ago
foobar
dc26e8d8f5
Skip POST data if it is empty.
24 years ago
Sander Roobol
3f156fe6f9
Fix php.ini-related stuff in run-tests.php
24 years ago
Sander Roobol
e3490f1429
Fix temporary filename problems, and update .cvsignores with new extensions
24 years ago
Sander Roobol
f3a8a7d6bb
Fix make test and remove a warning
24 years ago
Sander Roobol
c9872c9199
Cleaned up run-tests.php, and fixed it on linux/unix
# and probably broke it on windows :)
24 years ago
Preston L. Bannister
3d1d6022cd
Updated to run cleanly on Win32, and perform a more controlled test.
24 years ago
Stig Bakken
fdb724bffc
* try the installed cli binary if everything else fails (I'm starting
to agree that looking too hard for a php binary is wrong)
25 years ago
Markus Fischer
1a3c8e6289
- Add a warning if running with safe_mode enabled.
25 years ago
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.
25 years ago
Yasuo Ohgaki
68f63a012f
WS fix
25 years ago
Wez Furlong
b98074ee86
fix problems with cgi/cli sapi when running tests
25 years ago
Yasuo Ohgaki
7f8b2a6533
Fix PHP version and sapi printed so that it does not print bogus
version and sapi name.
25 years ago
Yasuo Ohgaki
270a907bad
Do not search php binary in search path, since we are not testing older builds.
Print SAPI used.
25 years ago
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.
25 years ago
Stig Bakken
8802148fcd
* work with sapi/cli
25 years ago
Sebastian Bergmann
90613d2282
Maintain headers.
25 years ago
Sebastian Bergmann
38933514e1
Update headers.
25 years ago
foobar
76fcdc1afb
Fix these to give correct results even if register_globals=off or
register_argc_argv=off.
25 years ago
Stig Bakken
5cd46bb2e0
* typo
25 years ago
Stig Bakken
fb610787ff
* add the directory where php.exe was found to PATH to help Windows
find its DLLs
25 years ago
Stig Bakken
d1d848c171
* Windows fix
25 years ago
Stig Bakken
2186ced3a6
* MTH (merge _to_ head)
25 years ago
Hartmut Holzgraefe
800b863310
once again, make test would not work right with error_reporting=E_ALL
25 years ago
Stig Bakken
48c02a2e93
* use ereg functions instead of preg
* send stderr to the bit bucket
25 years ago
Daniel Beulshausen
3d5b27d46a
make run-tests work under win32 too
# this whole thing is pretty ugly...
26 years ago
Stig Bakken
0edbf4242f
* using CGI -C option, you no longer have to specify "full" path to tests
26 years ago
James Moore
af02c17d9f
Output php version at end of tests.
26 years ago
André Langhorst
ec31b454d5
I don't like to commit this over and over either, but this client definitely seems to dislike branches
26 years ago
André Langhorst
f438554953
fighting against the cvs client, it does not want to let the win32 binary safe change go in...
26 years ago
André Langhorst
3d9871dcf4
win32 fixes again
26 years ago
Sebastian Bergmann
b132c36325
Disable maximum execution time for tests.
26 years ago