mirror of
https://github.com/reactos/reactos.git
synced 2025-02-21 16:04:57 +00:00
[MSCTF_WINETEST] Skip crashing test when it fails
CORE-16797
This commit is contained in:
parent
dcc6dcb0bd
commit
365fafc03b
1 changed files with 9 additions and 0 deletions
|
@ -2523,6 +2523,12 @@ static DWORD WINAPI test_MultiThreadApartment_Thread(void *param) {
|
|||
hr = CoCreateInstance(&CLSID_TF_ThreadMgr, NULL, CLSCTX_INPROC_SERVER, &IID_ITfThreadMgrEx, (LPVOID *)&thmgr);
|
||||
ok(SUCCEEDED(hr), "Failed to create ITfThreadMgrEx instance\n");
|
||||
|
||||
#ifdef __REACTOS__
|
||||
// See CORE-16797
|
||||
if (!SUCCEEDED(hr))
|
||||
goto err_out;
|
||||
#endif
|
||||
|
||||
hr = ITfThreadMgrEx_QueryInterface(thmgr, &IID_ITfSource, (LPVOID *)&source);
|
||||
ok(SUCCEEDED(hr), "Failed to query ITfSource interface\n");
|
||||
|
||||
|
@ -2535,6 +2541,9 @@ static DWORD WINAPI test_MultiThreadApartment_Thread(void *param) {
|
|||
|
||||
hr = ITfThreadMgrEx_Release(thmgr);
|
||||
ok(SUCCEEDED(hr), "Failed to Release thread manager\n");
|
||||
#ifdef __REACTOS__
|
||||
err_out:
|
||||
#endif
|
||||
|
||||
CoUninitialize();
|
||||
|
||||
|
|
Loading…
Reference in a new issue