http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e48b810
)
atl/tests: Fix a test failure on Win95.
author
Paul Vriens
<Paul.Vriens.Wine@gmail.com>
Sun, 19 Sep 2010 15:18:25 +0000
(17:18 +0200)
committer
Alexandre Julliard
<julliard@winehq.org>
Mon, 20 Sep 2010 11:01:18 +0000
(13:01 +0200)
dlls/atl/tests/module.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/atl/tests/module.c
b/dlls/atl/tests/module.c
index 1b21f6e714cf0d0cf1d17248e1d784024d9510e3..2a97ef95ad3b8702ac86aa2878923aa03970219e 100644
(file)
--- a/
dlls/atl/tests/module.c
+++ b/
dlls/atl/tests/module.c
@@
-91,10
+91,14
@@
static void test_StructSize(void)
ok (hres == S_OK, "AtlModuleInit with %d failed (0x%x).\n", i, (int)hres);
break;
default:
- ok (FAILED(hres), "AtlModuleInit with %d succeeded? (0x%x).\n", i, (int)hres);
+ ok (FAILED(hres) ||
+ broken((i > FIELD_OFFSET( struct _ATL_MODULEW, dwAtlBuildVer )) && (hres == S_OK)), /* Win95 */
+ "AtlModuleInit with %d succeeded? (0x%x).\n", i, (int)hres);
break;
}
}
+
+ HeapFree (GetProcessHeap(), 0, tst);
}
START_TEST(module)