Commit Graph

400 Commits

Author SHA1 Message Date
Scott MacVicar
895eb06945 MFH: Support versions of valgrind from SVN. The version is shown as 3.4.0.SVN 2008-11-06 03:09:41 +00:00
Felipe Pena
ade487e693 - Opss, reverted accidental changes 2008-11-03 13:07:28 +00:00
Felipe Pena
7a37fa2d6b - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:19:39 +00:00
Johannes Schlüter
0c6da3760b Add %S and %A to EXPECTF, they work like %s and %a but match empty strings, too 2008-10-19 18:05:43 +00:00
Rob Richards
db5da11f8a MFH: Windows requires SystemRoot env var to run tests 2008-09-30 13:21:48 +00:00
Arnaud Le Blanc
343d958b25 MFH: Fix cwd when running tests out of tree with ZTS builds (fixes #45837) 2008-09-12 14:15:05 +00:00
Arnaud Le Blanc
163202ac88 MFH: run-tests.php: Added %u|b% placeholder, like %unicode|string%, for
array keys in var_dump() output.
2008-09-08 09:23:51 +00:00
Marcus Boerger
063ed94f28 - MFH Fix -p handling 2008-08-30 11:25:34 +00:00
Felix De Vliegher
6476e43eef Added %unicode_string_optional% for differences in output between PHP 5 and 6 2008-08-29 10:25:54 +00:00
Jani Taskinen
99d3c31788 Silencio for some unnecessary errors 2008-08-14 20:53:56 +00:00
Jani Taskinen
b1511db3e1 MFH 2008-08-05 16:25:42 +00:00
Felipe Pena
593429aa15 - MFH: Fixed undefined variable 2008-08-02 13:39:42 +00:00
Antony Dovgal
3770038a66 fix typo 2008-07-25 09:55:45 +00:00
Moriyoshi Koizumi
89762bb594 - MFH: Allow the results of a partial run to be saved when -s option is
explicitly specified.
2008-07-25 09:32:23 +00:00
Lars Strojny
48013172bc Allowing "%unicode|string%" as a placeholder (backport from HEAD) 2008-07-23 16:11:00 +00:00
Felipe Pena
1fb3313f75 - MFH: The error level must be E_ALL | E_STRICT. 2008-07-22 19:59:37 +00:00
Steph Fox
6fc2b09285 MFH Add missing help text 2008-07-22 09:35:55 +00:00
Jani Taskinen
745e63f6cf MFH: Sync with PHP 6. 2008-07-21 16:08:15 +00:00
Jani Taskinen
4bc58bc957 - More stupid WS etc fixes. Plus the missing help text place holders for Steph to fill up.. 2008-07-21 11:05:23 +00:00
Jani Taskinen
24f2ac9617 MFH: Stupid WS fixes..Thanks Steph! 2008-07-21 10:48:31 +00:00
Hannes Magnusson
4cc73804a7 Run the tests with E_STRICT again
# Why isn't E_STRICT in E_ALL?
2008-07-21 09:59:37 +00:00
Hannes Magnusson
d619b57efa MFH: Add E_USER_DEPRECATED (patch by Lars Strojny) 2008-07-21 09:41:00 +00:00
Pierre Joye
2a172dcc8c - fix the fix 2008-07-16 15:41:58 +00:00
Nuno Lopes
ae8fcea231 increase pcre.backtrack_limit so that the phpinfo.phpt test passes on my computer.
we should really consider increase the default of this limit.. (but not the recursion one though)
2008-07-08 18:18:08 +00:00
Olivier Hill
a9175febd6 Fix parse error 2008-07-02 15:00:21 +00:00
Pierre Joye
7a98fdc429 - MFH: fix make test TESTS=... and dynamic extension usage on windows 2008-07-02 12:47:06 +00:00
Dmitry Stogov
e13bb4c5f6 Reverted part of Steph's patch (stdin stream must be closed to make script finish) 2008-06-24 06:05:29 +00:00
Pierre Joye
6d63a0d9d1 - remove debug code 2008-06-19 21:09:43 +00:00
Steph Fox
c1b8065dcd Oops. 2008-06-19 21:08:56 +00:00
Steph Fox
0af1218770 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

and just for a special treat, you can have it from my working branch this time.
2008-06-19 21:08:13 +00:00
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