Commit Graph

59 Commits

Author SHA1 Message Date
Michael Stefaniuc 636340ce34 include: Make wine_dbgstr_rect() available for tests too.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-07 17:08:28 +09:00
Bernhard Übelacker 9a08714c02 include: Implement todo_wine_if for usage in wine tests.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 20:09:27 +09:00
Francois Gouget f6dc7c88ba kernel32/tests: Help the tests portably declare printf()-syle functions.
To do so they can now use the WINETEST_PRINTF_ATTR() macro.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-13 23:46:33 +09:00
Francois Gouget 4a983e3118 tests: Use plain printf() calls instead of fprintf(stdout).
The fprintf() calls are a left-over from when errors were reported to stderr.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-13 23:46:29 +09:00
Sebastian Lackner 61b8a189c5 include: Automatically detect if tests are running under Wine when WINETEST_PLATFORM is not specified. 2015-04-06 12:06:12 +09:00
Frédéric Delanoy 9134a24e87 include: Make wine_dbgstr_guid available in test.h for all tests. 2014-01-28 11:43:49 +01:00
Frédéric Delanoy e46796e7a4 wine/test.h: Fix a typo in comment. 2014-01-17 11:01:42 +01:00
Dmitry Timoshkov b632f0966d kernel32: Count precise amount of child process failures. 2013-04-18 11:54:28 +02:00
Dmitry Timoshkov 521cf664d3 kernel32: Add a test for threads state when a process is being terminated. 2013-04-12 11:49:14 +02:00
Dmitry Timoshkov b527679d17 include/wine/test.h: Fix compilation of standalone tests with PSDK headers. 2012-06-22 14:09:47 +02:00
Dmitry Timoshkov 3068ae8bce include/wine/test.h: Fix tests compilation with a PSDK compiler. 2012-04-23 12:58:36 +02:00
Frédéric Delanoy 81bf925401 include: Assorted spelling fixes. 2011-07-28 18:37:40 +02:00
Alexandre Julliard b14cfdeea4 tests: Run all tests with the default FPU control word. 2010-07-20 11:41:05 +02:00
Alexandre Julliard 89ad1f2615 tests: Print information about the last executed test before crashing. 2010-07-20 11:40:06 +02:00
Alexandre Julliard e2c48c5952 tests: Try to avoid message boxes popping up in non-interactive testing. 2010-07-20 11:39:50 +02:00
Alexandre Julliard cf42723602 tests: Use the correct format of varargs list when building with msvcrt. 2010-04-09 15:48:05 +02:00
Alexandre Julliard 69ee0ad151 tests: The ok() macro shouldn't return a value. 2010-02-24 16:48:07 +01:00
Mikołaj Zalewski bc07b48b38 include: Add a strcmpW-equivalent function usable in tests. 2010-02-22 11:57:23 +01:00
Alexandre Julliard ee868cce5b tests: Make wine_dbgstr_w available in test.h for all tests. 2009-08-19 13:19:31 +02:00
Alexandre Julliard d55bdc01d9 tests: When tracing is enabled, output the todo tests too. 2009-02-19 16:17:13 +01:00
Alexandre Julliard fea2aa55d0 include: Fix the 64-bit value of magic handle constants. 2008-12-08 15:51:22 +01:00
Alexandre Julliard b25eb5542a test.h: Fetch environment variables from the Win32 environment not the Unix one. 2008-08-01 11:18:11 +02:00
Alexandre Julliard 4904c807d8 wine/test.h: Don't allow to use config.h in tests. 2008-07-08 21:29:28 +02:00
Francois Gouget e767a2c04d tests: Add a win_skip() function to allow for missing Windows functionality that must be present in Wine. 2008-06-11 11:26:28 +02:00
Alexandre Julliard 58b00da312 test.h: Add a space after the file name prefix. 2008-06-04 12:32:48 +02:00
Francois Gouget 812f72410f tests: Add a broken() function to make it possible to handle Windows misbehaviors that we don't want to reproduce in Wine. 2008-05-30 10:01:18 +02:00
Rob Shearman ce42c95a1c winetest: Detect if an unhandled exception occurred in a child process and print an appropriate message.
Avoid getting caught incrementing the failure count in this case, as it 
could take a very long time to complete.
2008-05-07 17:48:09 +02:00
Francois Gouget 2c6cba8eef tests: Avoid InterlockedExchangeAdd() as it is not supported on Windows 95. 2008-02-11 19:56:16 +01:00
Alexandre Julliard 05c7174909 tests: Add a helper routine to wait for a child process and propagate its result correctly. 2008-02-07 12:56:00 +01:00
Dmitry Timoshkov db552fbf4b include/wine/test.h: Use appropriate type. 2007-08-22 12:18:59 +02:00
Alexandre Julliard 67a0e31da7 wine/test: Print the official name of the test in summary. 2007-03-01 20:42:48 +01:00
Francois Gouget 442fec32d0 tests: The non-gcc case was missing a forward declaration for winetest_skip(). 2007-01-18 12:00:01 +01:00
Francois Gouget d90879f10c tests: Add skip(), a function to warn that tests were skipped due to limitations of the environment or missing dependencies. 2007-01-12 11:25:18 +01:00
Alexandre Julliard 80cff47c87 include: Get rid of the WINE_NO_LONG_AS_INT ifdefs. 2006-12-20 14:57:08 +01:00
Michael Stefaniuc 705b5a00c5 debug.h, test.h: Temporary add ifdefs around some printfs to avoid format. 2006-09-29 16:09:14 +02:00
Alexandre Julliard fc4cd637d9 tests: Moved some compatibility defines to wine/test.h. 2006-09-13 11:01:39 +02:00
Alexandre Julliard 35e59151e9 include: Prevent internal Wine headers from being used in tests. 2006-05-25 20:07:57 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Eric Pouech ca777c090f tests: Fixed test framework against environment modifications. 2006-02-14 11:38:26 +01:00
Alexandre Julliard 07dd5a7e86 Attempt at a better fix for the winsock.h problems on Darwin. 2005-06-30 21:13:00 +00:00
Pierre d'Herbemont 321a3e1aa6 Fix winsock.h and stdlib.h collision by including windows.h instead
of the previous headers.
2005-06-21 09:43:44 +00:00
Alexandre Julliard ac75dcc240 Avoid static forward declaration that doesn't work on MSVC. 2005-06-15 10:22:59 +00:00
Alexandre Julliard c2d5b444b3 Moved the NONAMELESSUNION/STRUCT macros to wine/test.h so that they
can be used in all the test.
2005-06-13 12:10:54 +00:00
Alexandre Julliard 95b87814e8 Added --list option to the tests and use that in winetest. 2005-05-27 20:10:59 +00:00
Alexandre Julliard 0bfa0b80b0 Better support for building stand-alone tests. 2005-05-25 09:57:07 +00:00
Ferenc Wagner c0c6c4d8c7 Disable buffering of test output to keep more information in case of a
crash.
2004-05-03 20:19:13 +00:00
Francois Gouget 7b6935c2ae Remove the winetest_ok() hack that adds a trailing '\n' if it is
missing.
2004-02-10 20:09:26 +00:00
Francois Gouget 68ea3623b8 Modify winetest_ok to only add a trailing '\n' if there is none.
Modify macros in the kernel, oleaut32 and user tests to print a '\n'.
2003-09-11 01:07:19 +00:00
Dimitrie O. Paun 53f9c21fb7 Use angle brackets (<>) rather than quotes ("") for the include
directives in our .h files. This should avoid some potentially nasty
surprises for Winelib apps.
2003-08-28 21:43:34 +00:00
Francois Gouget 88a5cb569b Add support for WINETEST_INTERACTIVE. If set then tests can perform
additional explicitly interactive tests.
Modify the winmm test to use WINETEST_INTERACTIVE.
2003-01-02 17:52:05 +00:00