Commit 59c934aa authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

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

parent 48111d1c
...@@ -460,7 +460,12 @@ START_TEST(run) ...@@ -460,7 +460,12 @@ START_TEST(run)
int argc; int argc;
CoInitializeEx(NULL, COINIT_MULTITHREADED); CoInitializeEx(NULL, COINIT_MULTITHREADED);
register_activex();
if(!register_activex()) {
skip("Could not register ActiveX object.\n");
CoUninitialize();
return;
}
argc = winetest_get_mainargs(&argv); argc = winetest_get_mainargs(&argv);
if(argc > 2) if(argc > 2)
......
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