Module: wine Branch: master Commit: cd22e8c223bc3cd55ff86aa4da03c3d8b6fb3e41 URL: http://source.winehq.org/git/wine.git/?a=commit;h=cd22e8c223bc3cd55ff86aa4da... Author: Jacek Caban <jacek(a)codeweavers.com> Date: Mon Feb 17 18:55:55 2014 +0100 jscript: Skip tests if we can't register ActiveX object. --- dlls/jscript/tests/activex.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/dlls/jscript/tests/activex.c b/dlls/jscript/tests/activex.c index 1153409..636dd81 100644 --- a/dlls/jscript/tests/activex.c +++ b/dlls/jscript/tests/activex.c @@ -1143,11 +1143,12 @@ START_TEST(activex) CoInitialize(NULL); if(check_jscript()) { - register_activex(); - - test_ActiveXObject(); - - init_registry(FALSE); + 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"); }