Commit d384e858 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

atl100/tests: Trace GetLastError() when DeleteFile() fails.

test_AtlAxCreateControl()'s DeleteFile() call fails from time to time.
parent e60e8af0
...@@ -786,7 +786,7 @@ static void test_ax_win(void) ...@@ -786,7 +786,7 @@ static void test_ax_win(void)
/* test file:// scheme on non-existent file */ /* test file:// scheme on non-existent file */
ret = DeleteFileW(pathW); ret = DeleteFileW(pathW);
ok(ret, "DeleteFile failed!\n"); ok(ret, "DeleteFile failed (gle=%lu)\n", GetLastError());
hwnd = CreateWindowW(cls_names[i], file_uri1W, 0, 100, 100, 100, 100, NULL, NULL, NULL, NULL); hwnd = CreateWindowW(cls_names[i], file_uri1W, 0, 100, 100, 100, 100, NULL, NULL, NULL, NULL);
ok(hwnd != NULL, "CreateWindow failed!\n"); ok(hwnd != NULL, "CreateWindow failed!\n");
control = NULL; control = NULL;
...@@ -1048,7 +1048,7 @@ static void test_AtlAxCreateControl(void) ...@@ -1048,7 +1048,7 @@ static void test_AtlAxCreateControl(void)
/* test file:// scheme on non-existent file. */ /* test file:// scheme on non-existent file. */
ret = DeleteFileW(pathW); ret = DeleteFileW(pathW);
ok(ret, "DeleteFile failed!\n"); ok(ret, "DeleteFile failed (gle=%lu)\n", GetLastError());
container = NULL; container = NULL;
control = NULL; control = NULL;
hwnd = create_container_window(); hwnd = create_container_window();
......
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