diff options
author | Joerg Skottke [jsk] <jsk@openoffice.org> | 2010-07-22 14:06:37 +0200 |
---|---|---|
committer | Joerg Skottke [jsk] <jsk@openoffice.org> | 2010-07-22 14:06:37 +0200 |
commit | 79b96e8d786ced077d65b04db09f27aafe4e9eff (patch) | |
tree | 6a3a8e4dd31a08e946e3bb5c0db880fac792b14e | |
parent | f0b4c36f75ffc0904f2b7619a19b3fa8b85e43fa (diff) |
jl154: #i113234# Platform differentiator
-rwxr-xr-x | testautomation/framework/required/includes/script_organizers.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/testautomation/framework/required/includes/script_organizers.inc b/testautomation/framework/required/includes/script_organizers.inc index f8270fa558d2..0dc71aec926c 100755 --- a/testautomation/framework/required/includes/script_organizers.inc +++ b/testautomation/framework/required/includes/script_organizers.inc @@ -51,10 +51,11 @@ testcase tUpdtScripts ' This is the build specific part of the filename including substrings for ' the productname and language. dim sProductString as string : sProductString = gProductName & "_" & gISOLang & "_" + dim sPlatform = lcase( gPlatform ) ' define platforms that have different scriptcount - if ( gPlatGroup = "win95" ) then sProductString = sProductString & "win_" - if ( gPlatform = "osx" ) then sProductString = sProductString & "osx_" + if ( instr( sPlatform, "win" ) > 0 ) then sProductString = sProductString & "win_" + if ( sPlatform = "osx" ) then sProductString = sProductString & "osx_" ' replace all blanks sProductString = hStringReplaceChar( sProductString, " ", "-" ) |