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);
|
CoInitialize(NULL);
|
||||||
|
|
||||||
if(check_vbscript()) {
|
if(check_vbscript()) {
|
||||||
register_activex();
|
if(register_activex()) {
|
||||||
|
test_CreateObject();
|
||||||
test_CreateObject();
|
test_GetObject();
|
||||||
test_GetObject();
|
init_registry(FALSE);
|
||||||
|
}else {
|
||||||
init_registry(FALSE);
|
skip("Could not register ActiveX object.\n");
|
||||||
|
}
|
||||||
}else {
|
}else {
|
||||||
win_skip("Broken engine, probably too old\n");
|
win_skip("Broken engine, probably too old\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue