Commit Graph

370 Commits

Author SHA1 Message Date
Steph Fox
9f44542741 Two new options for Travis to come to terms with:
- --set-timeout <n> sets the timeout in seconds for the call to stream_select() during system_with_timeout()
- -x sets an environmental variable, SKIP_SLOW_TESTS, which can be checked for during a SKIPIF clause
2008-06-19 21:03:36 +00:00
Antony Dovgal
a591b8bdc8 fix typo 2008-05-26 11:33:38 +00:00
Zoe Slattery
0cf47e6f11 Added --XFAIL-- section 2008-05-25 16:05:04 +00:00
Nuno Lopes
95b627f29b detect test cases with duplicated sections 2008-03-17 17:18:19 +00:00
Lars Strojny
da494df864 Using new magic constant __DIR__ in run-tests.php 2008-03-05 20:10:12 +00:00
Felipe Pena
aafff71c86 New E_ALL value 2008-02-24 12:17:25 +00:00
Ilia Alshanetsky
77efd89617 Disable mbstring overload 2008-02-12 18:23:14 +00:00
Nuno Lopes
46b9c23008 fix ===DONE=== with windows EOLs 2008-02-08 16:46:23 +00:00
Marcus Boerger
330c8b49f8 - MFH valgrind detection, note in header 2008-01-15 13:03:54 +00:00
Marcus Boerger
041bf3518c - MFH Show info for CL and CGI if both are going to be used 2008-01-06 16:48:11 +00:00
Greg Beaver
27ee8f8806 remove potential preg warnings if --EXPECTHEADERS-- is combined with --EXPECTF-- or --EXPECTRE-- 2008-01-05 21:39:53 +00:00
Greg Beaver
f61ba6295a implement --FILE_EXTERNAL-- section for using an external file as --FILE--, use CGI for --EXPECTHEADERS--, fix --POST_RAW-- 2008-01-05 21:05:06 +00:00
Sebastian Bergmann
9044a48291 Leftover: Bump copyright year. 2008-01-01 06:15:40 +00:00
Dmitry Stogov
94a50ae0c9 Fixed %f regex 2007-12-25 12:06:34 +00:00
Raghubansh Kumar
e54a855955 Changing the regex for %f so the it will match e-, e+ and e. 2007-12-24 04:23:04 +00:00
Hannes Magnusson
4de3c0b985 Check if we know which php executable we should use
# Fixes weird test failures when TEST_PHP_EXECUTABLE isn't set
2007-12-17 11:00:16 +00:00
Antony Dovgal
f5d0e57bcc MFH: add support for Valgrind 3.3.0 (which doesn't have --log-file-exactly option) 2007-12-12 09:20:54 +00:00
Marcus Boerger
d28117190f - - Allow to check the out,exp and diff results on console while executing the tests 2007-12-05 14:54:08 +00:00
Marcus Boerger
bbf7260cde - Allow to specify php executable on commandline 2007-12-05 13:55:46 +00:00
Jani Taskinen
f83871a71d MFH:- Fixed bug #43035: ignore_repeated_errors=On causes lot of tests to fail 2007-11-21 08:20:22 +00:00
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