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

This commit is contained in:
Jacek Caban 2014-02-17 18:55:55 +01:00 committed by Alexandre Julliard
parent 0473a790fe
commit cd22e8c223
1 changed files with 6 additions and 5 deletions

View File

@ -1143,11 +1143,12 @@ START_TEST(activex)
CoInitialize(NULL);
if(check_jscript()) {
register_activex();
if(register_activex()) {
test_ActiveXObject();
init_registry(FALSE);
}else {
skip("Could not register ActiveX object\n");
}
}else {
win_skip("Broken engine, probably too old\n");
}