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

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

View File

@ -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");
}