Commit 6a20bb2d authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

kernel32/tests: Use ok_() so the TestBot can correctly detect the line.

Otherwise the messages appear to change every time the line count changes, which making old errors new again. Signed-off-by: 's avatarFrancois Gouget <fgouget@free.fr> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 1631f690
......@@ -627,13 +627,13 @@ static NTSTATUS map_image_section( const IMAGE_NT_HEADERS *nt_header, const IMAG
{
if (!has_code && is_win64)
{
ok( mod != NULL || want_32bit || broken(il_only), /* <= win7 */
"%u: loading failed err %u\n", line, GetLastError() );
ok_(__FILE__,line)( mod != NULL || want_32bit || broken(il_only), /* <= win7 */
"loading failed err %u\n", GetLastError() );
}
else
{
ok( !mod, "%u: loading succeeded\n", line );
ok( GetLastError() == ERROR_BAD_EXE_FORMAT, "%u: wrong error %u\n", line, GetLastError() );
ok_(__FILE__, line)( !mod, "loading succeeded\n" );
ok_(__FILE__, line)( GetLastError() == ERROR_BAD_EXE_FORMAT, "wrong error %u\n", GetLastError() );
}
}
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment