Commit 48111d1c authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

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

parent 33cb4f80
......@@ -1092,12 +1092,13 @@ START_TEST(createobj)
CoInitialize(NULL);
if(check_vbscript()) {
register_activex();
test_CreateObject();
test_GetObject();
init_registry(FALSE);
if(register_activex()) {
test_CreateObject();
test_GetObject();
init_registry(FALSE);
}else {
skip("Could not register ActiveX object.\n");
}
}else {
win_skip("Broken engine, probably too old\n");
}
......
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