Commit Graph

402 Commits

Author SHA1 Message Date
Steph Fox
fbcbb85cbc - binary safety 2008-06-11 16:48:41 +00:00
Steph Fox
018f493cf3 - kill unicode.semantics checks 2008-06-11 15:42:06 +00:00
Steph Fox
09dd52d7b6 - code beauty (ws/cs) 2008-06-11 14:35:08 +00:00
Felipe Pena
5a0d288d52 - Suppressed fwrite() warning.
- Removed the doubled test name in borked message.
- Fixed the bogus borked message when test file is empty or fgets() fails.
2008-05-27 19:20:39 +00:00
Zoe Slattery
857f2b6570 Added --XFAIL-- section 2008-05-25 16:12:27 +00:00
Felipe Pena
3665899dba - Remove check for unicode.semantics 2008-05-21 14:01:31 +00:00
Antony Dovgal
19e44a3234 fix run-tests.php (Felipe) 2008-05-21 13:02:35 +00:00
Nuno Lopes
dfb8b00838 MFB: detect duplicate sections 2008-03-17 17:20:27 +00:00
Lars Strojny
b9a3da8839 Using new magic constant __DIR__ in run-tests.php 2008-03-05 20:11:35 +00:00
Felipe Pena
7e53d6f8f4 New E_ALL value 2008-02-23 18:41:31 +00:00
Nuno Lopes
8413735505 fix ===DONE=== with windows EOLs 2008-02-08 16:47:20 +00:00
Marcus Boerger
fb34f9bc56 - Detect versions of valgrind that have an appendix to their verion number
- Show whether valgrind is being used in test header
2008-01-15 13:03:22 +00:00
Marcus Boerger
56e8b761b7 - Show info for CL and CGI if both are going to be used 2008-01-06 16:47:50 +00:00
Greg Beaver
b61e2d4703 remove potential preg warnings if --EXPECTHEADERS-- is combined with --EXPECTF-- or --EXPECTRE-- 2008-01-05 21:39:39 +00:00
Greg Beaver
0e5371eea7 implement --FILE_EXTERNAL-- section for using an external file as --FILE--, use CGI for --EXPECTHEADERS--, fix --POST_RAW-- 2008-01-05 21:04:55 +00:00
Sebastian Bergmann
3c94f05aea MFB: Leftover: Bump copyright year. 2008-01-01 06:22:15 +00:00
Dmitry Stogov
a84b22d125 Fixed %f regex 2007-12-25 12:06:53 +00:00
Raghubansh Kumar
7deb552a07 Changing the regex for %f so the it will match e-, e+ and e. 2007-12-24 04:20:15 +00:00
Hannes Magnusson
02663e3456 MFB5.3: - Allow to specify php executable on commandline
MFB5.3: - Allow to check the out,exp and diff results on console while executing the tests
2007-12-17 11:34:55 +00:00
Antony Dovgal
5040c2131c add support for Valgrind 3.3.0 (which doesn't have --log-file-exactly option) 2007-12-12 09:20:41 +00:00
Jani Taskinen
4c044e7361 - Fixed bug #43035: ignore_repeated_errors=On causes lot of tests to fail 2007-11-21 08:20:11 +00:00
Zoe Slattery
7ba55c586a Changing the regex for %f so the it will match E-, E+ and E. 2007-11-12 18:22:10 +00:00
Nuno Lopes
db5f5d6bd7 MFB: change run-tests.php to add %a 2007-09-14 15:36:29 +00:00
Jani Taskinen
2d3577c84a - Allow using * in test filenames to match pattern 2007-07-31 21:29:11 +00:00
Dmitry Stogov
f3ca1b5170 Fixed "make test" 2007-07-04 10:15:47 +00:00
Dmitry Stogov
b17b8ea3c1 Fixed CGI tests 2007-06-29 09:49:40 +00:00
Antony Dovgal
c241e7584a enable display_startup_errors 2007-06-05 11:33:09 +00:00
Ilia Alshanetsky
373ae24839 MFB 2007-05-28 23:52:13 +00:00
Antony Dovgal
c554b2fb41 "sapi/cgi/php" -> "sapi/cgi/php-cgi" 2007-05-27 19:22:24 +00:00
Marcus Boerger
429d07ef40 - Update copyright 2007-05-20 18:29:43 +00:00
Marcus Boerger
8e53721411 - Make it executeable 2007-05-20 18:24:15 +00:00
Antony Dovgal
731f3fc2a3 make USE_ZEND_ALLOC env var available in SKIPIF section 2007-05-02 15:25:32 +00:00
Johannes Schlüter
0813a5dfa3 - Keep unicode.semantcis for SKIPIF 2007-04-23 20:55:56 +00:00
Antony Dovgal
82f7a379c5 there are definitely no problems found if all tests passed 2007-04-23 11:19:05 +00:00
Antony Dovgal
2488b83ebe add tests for CGI 2007-04-17 19:48:22 +00:00
Antony Dovgal
77e3b99726 bail out if unicode.semantics is On (stream_select() is unable to cast Unicode streams to FDs)
check stream_select() return value correctly and avoid endless loop
2007-04-12 13:17:14 +00:00
Marcus Boerger
cd91af2f7f - Allow to load multipe extensions via -d 2007-03-27 20:27:39 +00:00
Nuno Lopes
72bf3e2037 MFB: remove ereg() calls 2007-02-08 15:25:17 +00:00
Nuno Lopes
72ea46a292 use getenv() instead of the _ENV var 2007-01-30 17:41:11 +00:00
Nuno Lopes
2f279cd224 display all errors/leaks/warnings on each test, instead of showing just the top most error 2007-01-29 22:55:22 +00:00
Nuno Lopes
6077fe759f force tidy.clean_output=0 2006-12-28 15:06:58 +00:00
Ilia Alshanetsky
9901e4a31d MFB:
Fixed handling of multiple cookies with the same name.
	Added support for cookies into run-tests.php
2006-12-09 14:17:17 +00:00
Antony Dovgal
6858206f54 look for tests in sapi/cli 2006-12-04 13:07:00 +00:00
Antony Dovgal
4e77515c30 do not set an env variable without a name and a value 2006-11-23 20:06:02 +00:00
Michael Wallner
10e23ddfd5 - fix ENV section handling 2006-11-22 10:44:54 +00:00
Nuno Lopes
3ed3a71741 MFB 2006-09-14 17:07:41 +00:00
Antony Dovgal
69bbd05b03 make run-tests to work with directories containing spaces (bug #38558) 2006-08-23 07:02:26 +00:00
Dmitry Stogov
6a66ef533c Fixed "make test" on win32 2006-08-22 05:01:15 +00:00
Antony Dovgal
9889c1bfe5 fix my previous patch 2006-08-14 21:08:02 +00:00
Antony Dovgal
59385f39b6 make sure USE_ZEND_ALLOC is always 1 when running tests without -m 2006-08-14 10:29:10 +00:00
Marcus Boerger
88e1435b55 - Always show unicode_semantics state (required for our gcov stuff) 2006-08-13 15:22:18 +00:00
Antony Dovgal
2c6e2a9afa 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:32 +00:00
Antony Dovgal
b6f6e0b699 enabling --leak-check was bad idea, since there are way too much false positives caused by the absence of Zend MM 2006-07-28 12:58:42 +00:00
Antony Dovgal
8ac1f681af turn Off Zend MM and check for leaks when running tests through valgrind 2006-07-26 11:11:04 +00:00
Rob Richards
4b69373356 force unicode off in native mode (-N switch)
swap usage of single and double quotes for win32 compat
2006-07-22 13:12:19 +00:00
Nuno Lopes
c87c91ae13 MFB: valgrind args change 2006-07-17 11:46:12 +00:00
Nuno Lopes
1185b233a7 MFB 5.2 2006-07-17 10:49:34 +00:00
Ilia Alshanetsky
749534ab28 MFB: Don't use regex where none is needed. 2006-07-17 03:57:53 +00:00
Andrei Zmievski
9a1e882706 remove debugging 2006-07-14 23:23:45 +00:00
Andrei Zmievski
36a42a5204 run-tests.php maintainers, rise up! 2006-07-14 23:23:22 +00:00
Andrei Zmievski
5388ce5ba2 Do this workaround only for unicode mode. 2006-07-14 23:09:12 +00:00
Andrei Zmievski
14642f8734 Encode $wanted in output_encoding for comparison (workaround). 2006-07-14 23:04:32 +00:00
Antony Dovgal
bfceaaf1d1 unicode_semantics -> unicode.semantics 2006-06-28 15:07:14 +00:00
Dmitry Stogov
db2452bb42 Fixed CGI tests 2006-05-24 13:29:19 +00:00
Marcus Boerger
5b858067d3 - '_' is valid in test blocks 2006-05-16 23:04:52 +00:00
Marcus Boerger
92af67b79b - Add support for --EXPECTHEADERS--
- MFB cgi specific stuff
2006-05-13 14:01:19 +00:00
Antony Dovgal
9bca7f51cf typofix 2006-04-18 09:27:59 +00:00
Marcus Boerger
68ee3f0f64 - Prefix summaries with either U or N 2006-04-14 13:48:11 +00:00
Marcus Boerger
2275036bd0 - Fix writing faillog with redirected tests 2006-03-11 18:13:13 +00:00
Marcus Boerger
aa4140d7c2 - Fix test results with redirected tests 2006-03-11 17:57:40 +00:00
Marcus Boerger
d0b0dfd991 - Load list of extensions to test from php that is being tested rather than
from php running the tests
- When executing both unicode and native modes then show the type of test
  in the reult list (PASS:U, PASS:N, etc)
2006-03-11 16:54:11 +00:00
Ilia Alshanetsky
27e175eef0 So long safe_mode mode.
Also removed the magic_quotes configure option, no longer relevant since
the magic is gone :-).
2006-03-08 14:41:45 +00:00
Antony Dovgal
988b552742 fix typo 2006-02-16 06:29:32 +00:00
Marcus Boerger
72c3fc6172 - Reinsert line deleted per accident 2006-02-12 18:46:07 +00:00
Marcus Boerger
25db84f1d1 - Fix tests 2006-02-12 18:43:41 +00:00
Antony Dovgal
01476c3ea7 fix error message on make test when bison is not installed 2006-01-18 17:58:56 +00:00
Dmitry Stogov
227295a4f1 Unicode stuff is changed according to decision maden on PDM.
Now IS_BINRAY data type is removed and IS_STRING starts behave as IS_BINARY in unicode mode. IS_STRING is incompatible with IS_UNICODE, so ALL functions should be improved to support unicode mode.
2006-01-17 12:18:53 +00:00
Michael Wallner
2be14929df - ws 2006-01-11 15:18:58 +00:00
Michael Wallner
59a40f1eed - fix CGI SAPI check on Windows 2006-01-11 15:16:34 +00:00
Marcus Boerger
02ea4de78b -Typo 2006-01-04 15:51:06 +00:00
Marcus Boerger
8568edda69 - Typo 2006-01-04 15:17:32 +00:00
Marcus Boerger
052420e27b - Add CLEAN section which contains optional cleanup code executed even when
the test fails and which can be prevented by --no-clean switch
2006-01-04 15:07:49 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
Marcus Boerger
adf9c02a63 - Fix environment handling 2005-12-31 17:48:12 +00:00
Marcus Boerger
6b35e2ed19 - MFB 2005-12-30 13:42:20 +00:00
Marcus Boerger
650bdb51fd - Add make target make ntest to test in unicode mode
- Change make target test to check native and unicode mode
2005-12-23 21:01:05 +00:00
Marcus Boerger
34bd7e96fd - Fix handling of bork tests 2005-12-23 19:40:01 +00:00
Marcus Boerger
42a83a6fc9 - Add --[keep|show]-[all|skip|php] switches 2005-12-21 22:23:47 +00:00
Antony Dovgal
410e15a1c7 MFB: fix notice 2005-12-20 16:18:07 +00:00
Marcus Boerger
8b74d53c61 - Fix --version 2005-12-18 15:46:51 +00:00
Marcus Boerger
9ea6f06711 - WS
- End test script when detecting '===DONE===' that way showing memleaks
2005-12-18 14:50:06 +00:00
Marcus Boerger
6f34dbfa78 - Increase timeut for -m testing 2005-12-18 12:11:54 +00:00
Ilia Alshanetsky
b211d8cc3c MFB51: Added token for capturing arbitrary whitespace blocks inside text. 2005-12-17 16:33:53 +00:00
foobar
4e328517df use right tag here 2005-12-10 18:26:08 +00:00
Marcus Boerger
cd4842781c - Make -U mode play nicely with redirected tests 2005-12-10 17:37:29 +00:00
Marcus Boerger
80a2f09c82 - Add missing global variable 2005-12-10 16:58:35 +00:00
Marcus Boerger
39cf99ed36 - Readd -u and -U
# Removed those accidentially, the diff was obviously too big
2005-12-09 17:59:50 +00:00
Marcus Boerger
ed7797098d - Section FILE does not exist for redirection tests 2005-12-09 09:49:58 +00:00
Marcus Boerger
983b8f570d - Add missing newline 2005-12-09 00:30:05 +00:00
Marcus Boerger
cbf1e913e2 - MFH (Ilia's changes)
- Add ability to create temp files in separate dir and keep them.
- Add ability to generate html file with results as table and links to
  generated files.
2005-12-08 22:48:42 +00:00