Commit Graph

357 Commits

Author SHA1 Message Date
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
foobar
8f45f83124 - Made tests that require CGI skipped if it is not available 2005-12-07 11:28:20 +00:00
foobar
e14cdc034e - Fix file_put_contents() usage: it returns bytes written and it can be 0. 2005-12-07 11:11:01 +00:00
foobar
3b66cc9c37 - Fixed error messages 2005-12-07 10:08:07 +00:00
Dmitry Stogov
4855a3ba08 Fixed incorrect basename() usage 2005-12-07 09:06:30 +00:00
Marcus Boerger
e3e2d33c79 - Show list of leaked files in summary if any
- Use basename correct
2005-12-07 00:01:51 +00:00
Marcus Boerger
826f39b013 - Do not show leak summary if not tested 2005-12-06 23:24:38 +00:00
Marcus Boerger
f2a9649f03 - Fix summaries again 2005-12-06 09:34:44 +00:00
Marcus Boerger
d5ee5c5b0f - 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)
2005-12-06 01:51:17 +00:00
Marcus Boerger
507942a34e - Use putenv() correct 2005-12-01 09:59:59 +00:00
Marcus Boerger
885a80dabc - Fix warnings 2005-12-01 08:49:57 +00:00
Marcus Boerger
a015502926 - New environment TEST_PHP_ARGS to allow appending args to run-tests.php
- New mode -q (quiet)
- New mode -s <file> (save output to a file)
2005-12-01 01:26:20 +00:00
Marcus Boerger
ed0b0d1f33 - White space fixes 2005-12-01 00:57:29 +00:00
Marcus Boerger
20c56bd378 - Add support for valgrind testing (Nuno) 2005-12-01 00:26:44 +00:00
Marcus Boerger
0619c8c66c - Output modularization, 1st step 2005-11-26 18:07:49 +00:00
Marcus Boerger
6e4bcd3a5d - Bug 35382 was nit fixed but the test system was not capable for this kind
of tests
2005-11-26 16:33:08 +00:00
Marcus Boerger
ed2043353f - Show whether we execute unicode or native tests 2005-10-06 19:51:03 +00:00
Marcus Boerger
d376ba48ea - WS 2005-10-06 09:39:32 +00:00
Marcus Boerger
8fc1043685 - Fix redir tests, test count, faillog
# Everything should work again now
2005-10-06 09:29:32 +00:00
Marcus Boerger
ea2f242df1 - MFB use new functions 2005-10-06 00:38:55 +00:00
Marcus Boerger
2e2ba68d81 - Fix faillog and make it understand/handle redirected tests 2005-10-06 00:35:08 +00:00
Marcus Boerger
83a8e3d2a8 - Add easy way to test in unicode mode 2005-10-03 18:15:54 +00:00
Derick Rethans
0f391bb0b3 - Add E_RECOVERABLE.
#- Thought I did this before already actually...
2005-09-15 16:19:48 +00:00
foobar
58168205d4 This is like a virus..spread everywhere :) 2005-08-15 22:34:37 +00:00
foobar
077e356572 Goodbye PEAR 2005-08-15 22:30:40 +00:00
Dmitry Stogov
08fe0d1da3 Test engine is improved to support unicode mode 2005-08-15 14:37:55 +00:00
Andrei Zmievski
264cec8be6 Unicode support. 2005-08-11 23:36:07 +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