wscript: Skip tests if we can't register ActiveX object.
This commit is contained in:
parent
48111d1c15
commit
59c934aadc
|
@ -460,7 +460,12 @@ START_TEST(run)
|
|||
int argc;
|
||||
|
||||
CoInitializeEx(NULL, COINIT_MULTITHREADED);
|
||||
register_activex();
|
||||
|
||||
if(!register_activex()) {
|
||||
skip("Could not register ActiveX object.\n");
|
||||
CoUninitialize();
|
||||
return;
|
||||
}
|
||||
|
||||
argc = winetest_get_mainargs(&argv);
|
||||
if(argc > 2)
|
||||
|
|
Loading…
Reference in New Issue