diff options
Diffstat (limited to 'testautomation/framework/required/includes/topten.inc')
-rwxr-xr-x | testautomation/framework/required/includes/topten.inc | 49 |
1 files changed, 21 insertions, 28 deletions
diff --git a/testautomation/framework/required/includes/topten.inc b/testautomation/framework/required/includes/topten.inc index 8f5cb30fb99e..fdfdb49fec97 100755 --- a/testautomation/framework/required/includes/topten.inc +++ b/testautomation/framework/required/includes/topten.inc @@ -35,35 +35,28 @@ sub topten ' we need the binary filters (.sxw etc.) for this test but beginning with ' OOo 3.3 these are optional - try - hGetSuffix( "569" ) - catch - warnlog( "Optional legacy filters package is not installed" ) - printlog( "Please restart the setup to install the missing filters" ) - exit sub - endcatch - - gApplication = "WRITER" - call Top_ten_test - - gApplication = "CALC" - call Top_ten_test - - gApplication = "IMPRESS" - call Top_ten_test - - gApplication = "DRAW" - call Top_ten_test - - gApplication = "MATH" - call Top_ten_test - - gApplication = "HTML" - call Top_ten_test - - gApplication = "MASTERDOCUMENT" - call Top_ten_test + if ( hCheckForBinfilters() ) then + gApplication = "WRITER" + call Top_ten_test + gApplication = "CALC" + call Top_ten_test + + gApplication = "IMPRESS" + call Top_ten_test + + gApplication = "DRAW" + call Top_ten_test + + gApplication = "MATH" + call Top_ten_test + + gApplication = "HTML" + call Top_ten_test + + gApplication = "MASTERDOCUMENT" + call Top_ten_test + endif end sub '******************************************************************************* |