vbscript: Skip tests if we can't register ActiveX object.
This commit is contained in:
parent
33cb4f80b7
commit
48111d1c15
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue