wscript: Skip tests if we can't register ActiveX object.

This commit is contained in:
Jacek Caban 2014-02-18 11:33:02 +01:00 committed by Alexandre Julliard
parent 48111d1c15
commit 59c934aadc
1 changed files with 6 additions and 1 deletions

View File

@ -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)