Commit Graph

41 Commits

Author SHA1 Message Date
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
Tony Lambregts 2ff48996a0 Direct the output of the tests to stdout so that Win98 can redirect
the output to a file.
2002-12-17 01:47:04 +00:00
Francois Gouget 725b8b7fcf When reporting a test failure, only report the file name, not the full
path.
Merge winetest_set_trace_location with winetest_set_ok_location.
2002-12-11 00:17:42 +00:00
Alexandre Julliard 0cf753385b Moved the test routines from wtmain.c into wine/test.h so that they
can be compiled separately with different flags for each dll.
2002-10-30 20:36:21 +00:00
Patrik Stridvall de41ddcab9 Added {ok,trace}_ macros to take explicit file and line number. 2002-10-29 23:07:58 +00:00
Alexandre Julliard 75de8fe16c Added printf format checking to the ok() and trace() macros, and fixed
the resulting warnings.
2002-06-22 00:08:10 +00:00
Eric Pouech fbaef1cc9a Now C tests are able to access argc/argv as passed to the program. 2002-04-20 20:51:11 +00:00
Francois Gouget 58ed1f173d Add trace function (same as in the perl framework).
Add support for todo tests.
Make it possible to specify a printf-style message in ok.
Include windef.h in test.h for compiling tests on Windows.
2002-03-22 00:58:00 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Alexandre Julliard caa03388bc Preliminary version of the C unit tests run-time environment.
Added make rules for building and running C unit tests.
2002-02-20 19:03:59 +00:00