Francois Gouget
a909baeb4e
tests: Report all errors when failing to wait for a child process.
...
Report the line number where the test failed to wait for the child so
one can identify which child process did not behave as expected.
Also wait_child_process() is meant for the general case so report
all non-crash error cases as test failures so they are accounted for.
Omit the "winetest_" prefix to match the other Wine test functions and
so the underlying winetest_wait_child_process() function can be wrapped
with the usual line-capturing macros.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48651
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-17 10:51:44 +01:00
Jacek Caban
c15733dead
include: Add corecrt_startup.h header.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-27 23:37:56 +01:00
Rémi Bernon
ab3ca36baf
msvcrt/tests: Fix some format-overflow warnings.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-12 16:54:03 +01:00
Alexandre Julliard
4685e88de8
msvcrt/tests: Don't use win_skip for functions that are not exported on 64-bit.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-30 20:20:09 +02:00
Andrey Gusev
d3177504b1
Assorted spelling and typos fixes.
2015-08-31 20:18:46 +09:00
Nikolay Sivov
1f8636c5af
msvcrt/tests: Enable compilation with -D__WINESRC__.
2013-11-05 20:38:55 +01:00
Piotr Caban
6e485f13c0
msvcrt: NULL terminate program arguments list in __getmainargs.
2012-12-26 18:23:05 +01:00
André Hentschel
61a1213078
msvcrt/tests: Don't test function directly when reporting errno.
2012-12-20 12:00:21 +01:00
Piotr Caban
42d5cc3c6e
msvcrt: Added __getmainargs tests.
2012-12-14 11:54:28 +01:00
Daniel Verkamp
fcd04e5987
msvcrt/tests: Add test for _get_pgmptr.
2011-07-04 13:40:27 +02:00
Piotr Caban
3f4eded5d4
msvcrt: Added _get_osplatform implementation.
2010-05-05 15:26:45 +02:00
Alexandre Julliard
7e082f6608
msvcrt/tests: Make all msvcrt function pointers cdecl.
2009-05-23 11:57:38 +02:00
Alexandre Julliard
1c66fab80a
msvcrt/tests: Use the _winver etc. variables instead of the __p_ functions that don't exist on 64-bit.
2009-05-20 17:47:43 +02:00
Austin English
b7b28159c9
msvcrt/tests: Sign compare fixes.
2009-05-11 12:47:59 +02:00
Rein Klazes
ed20ac877c
msvcrt: Do not set the windows version to 0.5.
2009-04-20 17:29:26 +02:00
Jan Zerebecki
fbe9b578e1
msvcrt: Remove unused variable.
2007-03-15 12:25:12 +01:00
Alexandre Julliard
8f097d8c9d
msvcrt: _initterm doesn't return anything.
2007-03-14 12:26:43 +01:00
Marcus Meissner
f0280cbd1e
made functions and variables static in some testcases.
2006-12-11 12:18:29 +01:00
Francois Gouget
1a145bb532
msvcrt/tests: We cannot link with _initterm() with Visual C++, so we have to load it dynamically.
2006-11-24 12:56:35 +01:00
Francois Gouget
b2765fc45a
msvcrt/tests: The tests must not include msvcrt.h because it contains declarations that may be incompatible with the PSDK headers.
2006-11-24 11:49:13 +01:00
Andrew Ziem
2132eb5490
msvcrt: Fix _initterm, with tests.
2006-06-21 13:40:33 +02:00