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
Antony Dovgal
a0370cd797
add tests for CGI
2007-04-17 19:49:26 +00:00
Marcus Boerger
acf92f283a
- MFH Allow to load multipe extensions via -d
2007-03-27 20:28:06 +00:00
Nuno Lopes
a875e10909
convert all ereg*() calls to preg_match(), so that we become future-proof (ereg is scheduled for removal in PHP 6)
2007-02-08 15:22:03 +00:00
Nuno Lopes
3fdab070a9
MFH: use getenv() instead of _ENV
...
enable multiple error reporting on the same test
2007-02-07 11:31:22 +00:00
Ilia Alshanetsky
2df7386475
Update copyright year
...
# The rest of the files were already updated by Sebastian
2007-01-01 19:32:10 +00:00
Nuno Lopes
dae5040b61
MFH: force tidy.clean_output=0
2006-12-28 15:07:45 +00:00
Ilia Alshanetsky
94e3f478d7
Fixed handling of multiple cookies with the same name.
...
Added support for cookies into run-tests.php
2006-12-09 14:14:29 +00:00
Antony Dovgal
dad67b1f65
MFH: look for tests in sapi/cli
2006-12-04 13:07:26 +00:00
Antony Dovgal
7172a53c3a
do not set an env variable without a name and a value
2006-11-23 20:06:10 +00:00
Michael Wallner
a09ef37d30
- fix ENV section handling
2006-11-22 10:45:06 +00:00
Nuno Lopes
4a162b71a2
add --STDIN-- support
2006-09-14 16:58:52 +00:00
Antony Dovgal
41bd5790cf
MFH: make run-tests to work with directories containing spaces (bug #38558 )
...
Patch by danielc at analysisandsolutions dot com
2006-08-23 07:02:59 +00:00
Dmitry Stogov
3fd1e9c3db
Fix "make test" on win32
2006-08-22 05:00:51 +00:00
Antony Dovgal
2dbce548a8
fix previous patch
2006-08-14 21:08:16 +00:00
Antony Dovgal
2f01ddff7f
make sure USE_ZEND_ALLOC is always 1
2006-08-14 10:29:20 +00:00
Antony Dovgal
886d302575
suppress errors from date() if no date.timezone set
...
don't try to look for libtool if $sys_libtool_path is empty
2006-08-07 21:27:40 +00:00
Antony Dovgal
29a7498965
MFH: disable --leak-check
2006-07-28 12:58:59 +00:00
Antony Dovgal
4038877d85
turn Off Zend MM and check for leaks when running tests through valgrind
2006-07-26 11:11:11 +00:00
Nuno Lopes
46c036cd4d
make valgrind trace child processes. useful for the PCNTL extension (fork()), for example
2006-07-17 11:43:48 +00:00
Nuno Lopes
0433d29020
now they are really equivalent..
2006-07-17 10:48:11 +00:00
Ilia Alshanetsky
cd0e0124c9
Don't use regex where none is needed.
2006-07-17 03:57:31 +00:00
Dmitry Stogov
a953a1abda
Fixed CGI tests.
2006-05-24 13:28:59 +00:00
Marcus Boerger
216049bb27
- MFH '_' is valid in test blocks
2006-05-16 23:05:49 +00:00
Marcus Boerger
a4af2a9d16
- MFH add support for --EXPECTHEADERS--
2006-05-13 14:01:58 +00:00
Marcus Boerger
5efe53c596
- MFH add E_RECOVERABLE as default
2006-05-10 20:00:26 +00:00
Pierre Joye
3a7aee2472
- remove debug part
...
nota bene, there is still work in this area, but this is a start
2006-05-03 21:37:16 +00:00
Pierre Joye
9e4283227d
- add support for POST_RAW, allow to pass raw POST data
...
- add support for TEST_PHP_CGI_EXECUTABLE env variable, it is now possible
to set both TEST_PHP_EXECUTABLE and CGI
2006-05-03 21:33:44 +00:00
Marcus Boerger
06d235fbf1
- MFH Fix writing faillog with redirected tests
2006-03-11 18:13:37 +00:00
Marcus Boerger
941d86a204
- MFH Fix test results with redirected tests
2006-03-11 17:58:24 +00:00
Marcus Boerger
b80f9567d5
- Load list of extensions to test from php that is being tested rather than
...
from php running the tests
2006-03-11 16:37:53 +00:00
Antony Dovgal
f2ac3274d7
fix typo
2006-02-16 06:29:40 +00:00
Marcus Boerger
9c614f8f8f
- Synch
2006-02-12 18:51:12 +00:00
Ilia Alshanetsky
64972c02de
Simplify test code
2006-02-05 17:33:11 +00:00
Antony Dovgal
26ef74f867
MFH: fix error message on make test
when bison is not installed
2006-01-18 17:59:20 +00:00
Michael Wallner
8f5005e4b6
MFH: fix CGI SAPI check on Windows
2006-01-11 15:19:52 +00:00
Marcus Boerger
f9bfdc921a
- MFH
2006-01-04 15:17:41 +00:00
Marcus Boerger
43fdbe99cd
- MFH
2006-01-04 15:08:02 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
Marcus Boerger
9846878450
- MFH Fix environment handling
2005-12-31 17:48:26 +00:00
Marcus Boerger
c2c7bc6a10
- WS
2005-12-30 15:05:17 +00:00
Marcus Boerger
2a140b8f40
- Allow to specify ini to use for test executeable
2005-12-30 13:39:54 +00:00
Marcus Boerger
dc7ecd41ef
- If user wnats help, don't complain about missing environment
2005-12-30 13:31:48 +00:00
Marcus Boerger
b1cb83f3c9
- MFH Fix handling of bork tests
2005-12-23 19:40:12 +00:00
Marcus Boerger
970298401b
- MFH Add --[keep|show]-[all|skip|php] switches
2005-12-21 22:23:55 +00:00
Antony Dovgal
670b075f87
fix notice
2005-12-20 16:17:30 +00:00
Marcus Boerger
86ecf121e5
- MFH Fix --version
2005-12-18 15:47:07 +00:00
Marcus Boerger
2b413f7af2
- MFH End test script when detecting '===DONE===' that way showing memleaks
2005-12-18 14:50:33 +00:00
Marcus Boerger
6370ae56ed
- MFH Increase timeut for -m testing
2005-12-18 12:08:18 +00:00
Ilia Alshanetsky
87db368a75
Added token for capturing arbitrary whitespace blocks inside text.
2005-12-17 16:33:38 +00:00
foobar
933d1d174c
MFH
2005-12-10 18:26:52 +00:00
Marcus Boerger
b8572a0c9c
- MFH Section FILE does not exist for redirection tests
2005-12-09 09:50:30 +00:00
Marcus Boerger
6b86285dd2
- MFH Add missing newline
2005-12-09 00:30:41 +00:00
Marcus Boerger
fbeb8ae0d4
- Revert piece of MFH that shows an inconsistency - actually we should fix
...
this fread() issue.
2005-12-09 00:22:21 +00:00
Marcus Boerger
a4d0a4c625
- MFH
...
. Add ability to create temp files in separate dir and keep them.
. Add ability to create links in html results as table.
2005-12-08 22:51:01 +00:00
foobar
bfa084ddba
MFH:- Made tests that require CGI skipped if it is not available
2005-12-07 11:28:58 +00:00
foobar
241659ff70
MFH: fixed wrong logic
2005-12-07 11:12:52 +00:00
foobar
e5bd8e32f5
MFH: fixed error messages
2005-12-07 10:08:42 +00:00
Ilia Alshanetsky
0e46f5113c
Fixed filename picker.
...
Various modernizations of the script.
2005-12-07 02:01:58 +00:00
Marcus Boerger
8c8907458c
- MFH
...
. Support for '--' style switches
. Modularize output
. Better valgrind integration (valgrind 3.0.0+ required now) (-m)
. Ability to generate an additional html style output log (--html)
. Ability to test unicode + native tests in one go (-U)
. Show list of leaked files in summary if any
. Use basename correct
2005-12-07 00:03:46 +00:00
Marcus Boerger
cb83e27b02
- MFH (faillog, streams, counting, .......)
2005-10-06 09:42:17 +00:00
Ilia Alshanetsky
be945f9fe2
Make use of 5.0+ features
2005-09-11 17:33:15 +00:00
Ilia Alshanetsky
a022e10c2d
Simplify code by making use 5.1+ functions
2005-09-06 00:42:20 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Hartmut Holzgraefe
46a669b7fa
make skipif test use ini options specified by -d command line options
2005-08-02 17:05:01 +00:00
Marcus Boerger
ea71e02c7a
- Add ENV support (mike)
2005-07-29 17:25:38 +00:00
Marcus Boerger
ef4931f627
- Show end of relay testing block
2005-07-18 00:19:28 +00:00
Jon Parise
6f1261c70c
Removing the automake-related output. The build no longer uses automake.
...
While I'm here, rewrite the PHP_AUTOCONF-related code to more closely
match the conventions used elsewhere in this section. The result should
be functionally the same as before.
2005-07-11 06:32:02 +00:00
foobar
60ce60d395
show ugly full path for failed redirected tests
2005-07-09 02:41:19 +00:00
foobar
c0d7215b81
Sanitazione
2005-07-08 21:46:23 +00:00
Wez Furlong
626d318f07
sort redirected tests
2005-07-07 13:58:02 +00:00
Wez Furlong
6253c6c5e1
Fix 2 bugs:
...
- summary is only displayed if 2 or more tests were detected
- error out of a bogus test name is passed in
2005-07-07 12:58:47 +00:00
Wez Furlong
5b84ae26ab
Add a new kind of test to the test harness. REDIRECTTEST sections allow an
...
extension to piggy-back on the tests defined under another dir and run those.
Example of its use follows shortly with pdo tests.
2005-07-06 06:06:23 +00:00
Jon Parise
901419d028
If the PHP_AUTOCONF and PHP_AUTOMAKE environmental variables are set, use
...
them when describing the build environment.
Support for these variables was originally added to build/build2.mk:1.36.
As a side note, the build system uses PHP_AUTOHEADER. Perhaps it should
be listed on its own in the build environment for completeness, despite it
being a component of the autoconf package.
2005-07-04 20:37:07 +00:00
foobar
9d14b408cf
fix typo
2005-06-20 07:26:46 +00:00
foobar
34e0ba1f92
silence notices
2005-06-16 17:12:26 +00:00
foobar
97666ab4ef
Show borked tests in the summary
2005-06-15 09:21:15 +00:00
foobar
ce36ef5787
- Reword the send-report-part a bit. (bug #32624 )
2005-04-07 20:22:55 +00:00
foobar
7adac251e3
- Not every OS has ldd..
2005-04-06 22:14:27 +00:00
foobar
7f4e28d2bd
- Fixed bug #32504 (shtool problem on make test)
2005-04-01 13:40:46 +00:00
Ilia Alshanetsky
978f50c046
Detect shtool properly when build-dir != php source dir.
2005-03-20 19:47:13 +00:00
Marcus Boerger
23b3d1ca24
- Readd revised version of Jani's fix:
...
'errors with -d having a check for invalid ini entries'
- Add -v for verbose mode
2005-03-18 22:43:40 +00:00
foobar
bbe98a88f3
revert
2005-03-18 22:09:31 +00:00
foobar
1524d4890f
Fix stupid typos
2005-03-18 21:59:59 +00:00
foobar
ebb8d72d88
Fix errors with -d having a check for invalid ini entries
2005-03-18 21:59:06 +00:00
Magnus M��tt�
27c43d5991
Since in_array is case sensitive we need to convert the names to lowercase
...
otherwise it won't run tests for extensions where the case of the name differ from the
extension name.
2005-03-09 04:23:02 +00:00
Wez Furlong
b38f21b99c
let the test-suite run from an alternate build dir
2005-02-26 15:23:10 +00:00
Marcus Boerger
d02a2df3f0
- Use PHP not C semantics
2005-02-23 01:16:21 +00:00
foobar
91ea475f4d
- Fixed bug #29136 (make test - libtool failure on MacOSX)
2005-01-19 01:30:23 +00:00
foobar
ce742b08b0
- Fix typo (avaliable -> available). (bug #28725 )
2004-12-16 12:34:32 +00:00
Ilia Alshanetsky
35540fdee6
Added -d option which allows ini options to be specified via command line.
...
Patch by: Sean Coates
2004-12-06 23:37:20 +00:00
Ilia Alshanetsky
0e46666591
Save test result file inside the build directory.
2004-11-28 20:40:16 +00:00
Ilia Alshanetsky
479af1e75d
Fixed bug #30249 (Incorrect timeout check).
2004-09-27 17:30:46 +00:00
Christian Stocker
7b292e2fba
Fix for Bug 29010 "make test does not wait to email address" (by Sebastian Nohn)
2004-07-21 11:19:09 +00:00
Ilia Alshanetsky
190227899a
Turn off session.auto_start to prevent test failures.
2004-05-26 18:23:21 +00:00
Marcus Boerger
6f699cea5f
Bugfix #28229 (PATCH run-tests tripped up by spaces in names)
2004-04-30 08:18:54 +00:00
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