Commit Graph

36 Commits

Author SHA1 Message Date
Francois Gouget 99d36ccfb9 winetest: Don't truncate oversize reports before sending them.
test.winehq.org already sets $CGI::POST_MAX to reject oversize reports.
Furthermore truncated reports are rejected anyway.
So avoid the code duplication and inconsistencies between the winetest
and test.winehq.org (or other site) size limits.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-28 18:25:16 +02:00
Alexandre Julliard acefbcf6c9 winetest: Use the standard va_list instead of __ms_va_list.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 11:02:53 +02:00
Alexandre Julliard 15c4352f4c winetest: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 11:08:17 +02:00
Francois Gouget a83c650362 winetest: Allow sending the report to another server.
This makes it possible to send the reports to both the official server
and a test server.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-13 22:15:02 +01:00
Nikolay Sivov 2e97facdd0 winetest: Initialize sin_zero field sockaddr_in structure (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-29 12:02:25 +09:00
Michael Stefaniuc 69039f064a winetest: Remove redundant NULL checks before heap_free().
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 20:12:33 +09:00
Bruno Jesus 49ef87c314 winetest: Take care of EINTR on send/recv. 2014-06-12 13:19:09 +02:00
Alexandre Julliard c9eee73450 makefiles: Define __WINESRC__ when building programs. 2012-01-23 16:07:37 +01:00
Alexandre Julliard 7175324992 winetest: Avoid Unicode macros. 2012-01-19 21:08:56 +01:00
André Hentschel 8ee71cc572 winetest: Also abort while sending. 2010-06-25 10:25:06 +02:00
André Hentschel 35efca6ab3 winetest: Fix a cast. 2009-12-21 15:01:25 +01:00
Ge van Geldorp 0fc9920be9 winetest: Use wininet if available. 2009-05-28 12:42:00 +02:00
Francois Gouget bf6b95e95c winetest: Rename xmalloc() & co to heap_xxx() to not imply they are based on malloc(), and add heap_free(). 2009-05-18 12:32:29 +02:00
Alexandre Julliard b4e26f0419 winetest: Fix a compiler warning with the size_t type. 2008-07-21 13:00:14 +02:00
Detlef Riekenberg fbc9dc109c winetest: Run tests again on Win9x. 2008-07-16 19:56:24 +02:00
Alexandre Julliard 23296f0c4a winetest: Use Win32 APIs exclusively for file I/O and output redirection. 2008-07-10 17:45:22 +02:00
Paul Vriens 70ce548566 winetest: Make sure we can send larger files. 2006-11-30 20:06:31 +01:00
Mike McCormack a4fff8b2e0 winetest: Avoid calling fclose twice on the same file (Coverity). 2006-10-14 20:17:51 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Mike McCormack 93ab695a5c Fix gcc 4.0 warnings. 2005-08-26 08:53:31 +00:00
Mike McCormack d73dad6630 Fixes for -Wmissing-declarations and -Wwrite-strings warnings. 2005-06-04 10:01:25 +00:00
Ferenc Wagner ffc30c808e Quote everything for consistency.
RFC 2068 got superseded by RFC 2616.
2004-10-05 02:10:37 +00:00
Ferenc Wagner 5853c9ede5 - Use a more unique separator string.
- Add some quoting to please CGI.pm-3.05.
2004-10-04 19:28:59 +00:00
Ferenc Wagner ae1238b4b0 Avoid crashing on unsuccessful send. 2004-08-18 20:56:00 +00:00
Ferenc Wagner f8dba77dc8 Suppress some more error message boxes.
Truncate report file if too big.
2004-07-06 21:03:22 +00:00
Ferenc Wagner 24624f6b5d - Resource script restructuring.
- Build info et al. is given by files instead of env. vars.
- Store that information in resources.
- Make the main windows not resizeable.
- Insist on creating a fresh log file.
- Introduce the make dist target.
2004-06-15 22:45:15 +00:00
Francois Gouget cfc3943c5f Make our ascii strings static const.
Remove a couple string variables that were used only once and use the
string literal directly.
2004-05-04 04:13:05 +00:00
Jakob Eriksson 5c95e41d89 Fixed typo. 2004-04-20 20:15:43 +00:00
Ferenc Wagner a122499a98 - Extract revision info from CVS/Entries.
- #include "winetest.rc" into gui.rc.  MinGW can't link in
  more than one resource files.
- Enlarge chunk size of network transfer.
2004-03-24 23:40:06 +00:00
Ferenc Wagner ca0f5793da - Refactor and fix connection opening.
- Target test.winehq.org.
2004-03-19 19:15:23 +00:00
Ferenc Wagner 8387770064 - Fix report() dispatch.
- Strip "_test..." from test file names.
- Use mystrtok() for command line parsing to avoid collision with the
  one in get_subtests().
- Change User-Agent HTTP header to "Winetest Shell".
2004-03-19 01:54:10 +00:00
Juan Lang d89279a974 Connect to winehq.org by its name rather than by its IP addr. 2004-03-01 23:28:02 +00:00
Dimitrie O. Paun e59561c8fe Submit results to WineHQ. 2004-03-01 23:11:08 +00:00
Ferenc Wagner feaad968b8 Report the error sent by the CGI script.
Make progress bar selection explicit.
2004-02-21 04:01:56 +00:00
Ferenc Wagner 354f662962 Added graphical feedback. 2004-01-15 01:48:05 +00:00
Alexandre Julliard 9f71bd9824 Authors: Jakob Eriksson <jakov@vmlinux.org>, Dimitrie O. Paun <dpaun@rogers.com>, Ferenc Wagner <wferi@afavant.elte.hu>
New Wine test shell utility.
2003-12-04 02:01:39 +00:00