Commit graph

400 commits

Author SHA1 Message Date
Zebediah Figura
1bb4a8676d winetest: Increase maximum tag length.
This should hopefully make those failures surrounding newtb-wvistau64-zh-CN go away.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-20 11:21:48 +02:00
Alexandre Julliard
acc6306bcf makefiles: Generate the winetest resource list from makedep.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-05 06:23:27 -06:00
Alexandre Julliard
8e3d381419 winetest: Don't require a tag or email address when only running a few tests.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-27 19:12:23 +02:00
Francois Gouget
873eace6e4 wine/test.h: Identify the process responsible for test summary lines.
Currently the child process summary lines are indistinguishable from the
main process one. This makes it impossible to automatically detect
when a process exits abruptly, i.e. without printing a summary line,
if it has run a subprocess.

This will let analysis tools identify which summary lines correspond to
processes they started and thus when some are missing.  Note also that
in case of a crash the 'unhandled exception' play the same role as the
test summary lines. Thus it is important to also tag them with the pid
of the source process.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-22 16:45:22 +01: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
Francois Gouget
548b650e8a winetest: Explain why the source filename is printed.
It is used by analysis tools like test.winehq.org to link to the
relevant test source file.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-10 21:32:03 +01:00
Francois Gouget
8e14f1f79a winetest: There is no special directory anymore.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-10 21:31:50 +01:00
Francois Gouget
7bc46c15ef winetest: Flush the report file to disk between each test.
Should Windows crash, this makes it easier to know which test is
responsible.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-08 17:00:04 +01:00
Sebastian Lackner
13aa0c0419 winetest: Remove duplicate if check.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-01 05:30:17 -05: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
Alexandre Julliard
fc5739411d makefiles: Expand the test resource list through a makefile variable.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-13 22:24:53 +09:00
Alexandre Julliard
17ac5ba7f9 makefiles: Specify whether to install program binaries in the individual makefiles.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-30 14:58:50 +09:00
Alexandre Julliard
90d66cc874 makefiles: Only define the dummy target in makefiles that need it.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-22 21:36:15 +09:00
Akihiro Sagawa
c908c9c7c9 winetest: Add SystemPreferredUILanguages to the log.
A few GDI functions are affected by System account's display
language (by GetSystemPreferredUILanguages).
2015-06-25 14:29:39 +09:00
Alistair Leslie-Hughes
8885a4a2b9 winetest: Skip over stub dll if detected. 2014-12-03 21:34:26 +01:00
André Hentschel
6d498018cc winetest: Detect real version values. 2014-10-08 20:06:00 +02:00
Bruno Jesus
49ef87c314 winetest: Take care of EINTR on send/recv. 2014-06-12 13:19:09 +02:00
Alexandre Julliard
86b1f94d28 makefiles: Get rid of the MAKE_PROG_RULES variable. 2014-01-02 12:12:57 +01:00
Alexandre Julliard
54300b2302 makefiles: Add support for a variable to list extra targets. 2013-12-31 19:22:57 +01:00
Frédéric Delanoy
a2473d2985 winetest: Constify a character string. 2013-12-20 10:51:11 +01:00
Alexandre Julliard
25b0810655 makefiles: Generate explicit build rules for resource files from makedep. 2013-10-15 13:53:11 +02:00
Frédéric Delanoy
3e5fecc6a4 winetest: Use BOOL type where appropriate. 2013-10-14 10:44:52 +02:00
Alexandre Julliard
237ed76e6d makefiles: Generate the common rules for programs from configure. 2013-10-10 11:41:14 +02:00
André Hentschel
70a7c6d3d1 winetest: Set font in resources. 2013-06-03 11:28:31 +02:00
André Hentschel
010399a3f7 winetest: Report number of failures in more places. 2013-06-03 11:28:28 +02:00
Alexandre Julliard
c94d461731 winetest: Add a 256x256 icon. 2013-03-27 20:12:28 +01:00
André Hentschel
e7bdde3601 winetest: Remove SPARC support. 2013-03-05 11:00:52 +01:00
Francois Gouget
f704803c96 winetest: Trace the time it takes to run each test. 2013-02-15 16:48:50 +01:00
André Hentschel
fcc204c989 winetest: Add ARM64 support. 2013-01-16 12:53:47 +01:00
Marcus Meissner
a89f877fd3 winetest: Close filehandle on run error (Coverity). 2012-10-10 10:36:11 +02:00
André Hentschel
f5375256d0 winetest: Report actual number of failures in the statusbar. 2012-10-09 18:32:26 +02:00
Michael Stefaniuc
74ab51dc3d winetest: Remove an unused struct field. 2012-08-31 09:54:51 +02:00
Alexandre Julliard
c9eee73450 makefiles: Define __WINESRC__ when building programs. 2012-01-23 16:07:37 +01:00
Alexandre Julliard
da35622b83 makefiles: Disable use of Unicode macros globally for all the programs. 2012-01-20 13:14:16 +01:00
Alexandre Julliard
7175324992 winetest: Avoid Unicode macros. 2012-01-19 21:08:56 +01:00
Pierre Schweitzer
278e614065 winetest: Fix handle leak. 2012-01-03 12:37:55 +01:00
Francois Gouget
043c7fc076 winetest: Always report errors and fatal errors, even in quiet mode. 2011-12-28 17:47:57 +01:00
Francois Gouget
49a545685c winetest: Also log the current thread and default user UI languages. 2011-09-15 15:41:41 +02:00
Jacek Caban
b06358ecd4 winetest: Include language settings in OS info. 2011-07-29 15:33:46 +02:00
Alexandre Julliard
9b99cd1d31 makefiles: Create test resource files directly from the test build directory. 2011-05-24 11:15:20 +02:00
Alexandre Julliard
6072329712 winetest: Get rid of the dist rules. 2011-05-22 13:22:31 +02:00
Alexandre Julliard
e4eff85c8b makefiles: Create the binary resources for winetest from the top-level makefile. 2011-05-22 13:15:03 +02:00
Alexandre Julliard
305aca28b4 makefiles: Avoid creating an intermediate rc file for test binaries. 2011-05-22 12:50:10 +02:00
Alexandre Julliard
9f72d1959f winetest: Cowardly refuse to submit results that have too many failed tests. 2011-04-22 17:51:13 +02:00
André Hentschel
71af7f1ffa winetest: Remove Alpha support. 2011-04-20 13:09:33 +02:00
Greg Geldorp
e26b3a21c3 winetest: Include account level info in the report. 2011-01-10 10:56:04 +01:00
Alexandre Julliard
5b202367d5 winetest: Refuse to run if the WoW64 side of the registry is missing. 2010-12-27 15:39:36 +01:00
Jacek Caban
a3217c8923 winetest: Make win9x unsupported.
It's still possible to run tests with this patch, but results won't be 
submitted.
2010-12-17 13:26:01 +01:00
Alexandre Julliard
6d8a19def4 winetest: Sill output an entry for a dll when it's skipped entirely. 2010-12-10 12:13:41 +01:00
Alexandre Julliard
17e2cbd4dc winetest: Fix filtering of whole dll when individual tests are excluded. 2010-12-10 12:13:15 +01:00
Francois Gouget
d9dcafab91 winetest: Allow submitting the results if not too many tests have been skipped.
Currently the limit is set at 10 tests or subtests.
2010-12-09 17:13:34 +01:00
Francois Gouget
aa424f8159 winetest: Add a trace in the log when skipping a subtest. 2010-12-09 17:13:21 +01:00
Greg Geldorp
5d7cc36dd9 winetest: Add "-u" command line option so TestBot can include a URL in the report. 2010-11-23 14:16:22 +01:00
Francois Gouget
8f6f35e13b winetest: Add the '-i' option so one can specify a test environment description. 2010-09-29 10:04:28 +02:00
Francois Gouget
6f5a0a3a81 winetest: Add the '-n' option so one can specify a list of tests to exclude. 2010-09-29 10:04:21 +02:00
André Hentschel
ed59c54dc7 winetest: Add ARM support. 2010-09-20 12:59:22 +02:00
Alexandre Julliard
bd9852cd6f makefiles: Rename the SRCDIR, TOPSRCDIR and TOPOBJDIR variables to follow autoconf conventions. 2010-09-19 12:40:12 +02:00
Alexandre Julliard
81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard
9188bd647b winetest: Include the build info also in the standard build. 2010-08-21 17:19:48 +02:00
Alexandre Julliard
6fb39dfe4a programs: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:37 +02:00
Greg Geldorp
6521fc192f winetest: Take manifests into account when hunting for DLLs. 2010-07-19 14:38:17 +02:00
André Hentschel
8ee71cc572 winetest: Also abort while sending. 2010-06-25 10:25:06 +02:00
André Hentschel
bee7850344 winetest: Implement aborting. 2010-06-23 16:23:26 +02:00
André Hentschel
99a24eaf48 winetest: Add an else case. 2010-06-01 11:03:50 +02:00
Alexandre Julliard
5b32b11e10 winetest: Set the window small icon. 2010-04-19 20:12:57 +02:00
Joel Holdsworth
b1e891cff5 winetest: Replaced program icon with a Tango compliant icon. 2010-04-19 16:01:13 +02:00
Alexandre Julliard
bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard
f47bcc22fc winetest: Refuse to run if we cannot create a window. 2010-03-05 13:10:16 +01:00
Alexandre Julliard
454fb3c1da makefiles: Generate the list of test binaries from configure. 2010-02-08 21:29:13 +01:00
Alexandre Julliard
ecb2d7bd93 winetest: Report the correct source directory for program tests. 2010-02-06 20:36:12 +01:00
Alexandre Julliard
6fae8e1df1 winetest: Require an email address to submit a report. 2010-02-06 10:22:21 +01:00
Alexandre Julliard
ee0f4b0da3 winetest: Refuse to run if the mount manager isn't running.
This usually indicates that the Wine prefix isn't valid.
2010-01-28 15:50:52 +01:00
Michael Stefaniuc
75fde14ffc winetest: Remove superfluous WPARAM casts. 2009-12-30 16:13:44 +01:00
André Hentschel
35efca6ab3 winetest: Fix a cast. 2009-12-21 15:01:25 +01:00
Jacek Caban
b07bc34515 winetest: Remove no longer needed Gecko check. 2009-12-03 15:27:56 +01:00
Paul Vriens
c34ca48b3e winetest: Add product information to the output for Vista and higher. 2009-11-20 11:42:18 +01:00
Alexandre Julliard
31a5f31127 winetest: Refuse to submit results if we are using native dlls. 2009-10-26 13:38:05 +01:00
Alexandre Julliard
33d91a861a winetest: Improve the native dll check to catch .NET dlls too. 2009-10-13 14:51:39 +02:00
Alexandre Julliard
577d08c1e7 winetest: Use explicit prototypes for function pointers. 2009-10-02 15:06:59 +02:00
Alexandre Julliard
9cdd9a56e4 winetest: Don't run tests on native dlls when running under Wine. 2009-09-29 13:28:15 +02:00
Alexandre Julliard
c75aa35ba2 winetest: Use the registry path for COM dlls instead of GetModuleFileName.
This allows to load them with LOAD_LIBRARY_AS_DATAFILE.
2009-09-29 13:06:09 +02:00
Paul Vriens
5b600b57c4 winetest: Fix winetest to cope with com dlls. 2009-09-17 10:08:45 -05:00
Huw Davies
8b8af9c878 winetest: Add the ability to retrieve the dll path for com dlls from the registry. 2009-09-16 15:27:15 -05:00
André Hentschel
d0c68ef034 winetest: Mute an annoying message box. 2009-08-31 16:06:36 +02:00
Alexandre Julliard
f628146cfe Remove some obsolete README files. 2009-07-09 16:02:19 +02:00
Alexandre Julliard
ae1afb82d2 winetest: Create a separate resource file with the SHA1 build id. 2009-07-09 12:54:39 +02:00
Alexandre Julliard
fc2bef1d9c winetest: Load resources by name instead of id. 2009-07-07 10:59:29 +02:00
Alexandre Julliard
0dc951694b winetest: Build exe resources as separate .res files. 2009-07-06 14:33:32 +02:00
Alexandre Julliard
68a1f4d0a1 makefiles: Add resource files to the standard object files list. 2009-06-03 11:44:57 +02:00
Alexandre Julliard
c18d69ef5f makefiles: Remove special handling of .res.o files now that winegcc takes care of this. 2009-06-02 14:25:16 +02:00
Nicolas Le Cam
90ef31ecdc winetest: Add a missing carriage return in help message. 2009-06-02 11:57:21 +02:00
Nicolas Le Cam
55b51f3b1e winetest: Add option -d to specify tests output directory. 2009-06-01 16:16:06 +02:00
Nicolas Le Cam
62ab6ab1c5 winetest: Only call GetTempPath once. 2009-06-01 16:16:06 +02:00
Alexandre Julliard
6f74b45a81 winegcc: Add support for building PE executables using Mingw. 2009-06-01 16:15:53 +02:00
Ge van Geldorp
0fc9920be9 winetest: Use wininet if available. 2009-05-28 12:42:00 +02:00
Francois Gouget
4a558538c8 winetest: Replace malloc() & co with HeapAlloc(). 2009-05-18 12:32:36 +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
Austin English
0d2d1e7ff9 winetest: When extracting tests, run in console mode. 2009-04-27 13:26:02 +02:00
Detlef Riekenberg
dc0beeb976 winetest: Add option -x to extract all test. 2009-04-21 14:25:14 +02:00