diff options
author | Joerg Skottke [jsk] <jsk@openoffice.org> | 2010-10-26 09:02:24 +0200 |
---|---|---|
committer | Joerg Skottke [jsk] <jsk@openoffice.org> | 2010-10-26 09:02:24 +0200 |
commit | ad312005bd3480e78f82824a95589e0673c56d93 (patch) | |
tree | 272dfca28f0ac4e91070085cbbca25c279fab5bc /testautomation | |
parent | 10276665ffba77912e73cb80f17fc1601904024a (diff) |
automationdev300m87: #i112208# - Turned off verbosity in hFileOpenLocally()
Diffstat (limited to 'testautomation')
-rw-r--r-- | testautomation/global/tools/includes/required/t_files.inc | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/testautomation/global/tools/includes/required/t_files.inc b/testautomation/global/tools/includes/required/t_files.inc index ee75fb99bd80..d734cd3f05a7 100644 --- a/testautomation/global/tools/includes/required/t_files.inc +++ b/testautomation/global/tools/includes/required/t_files.inc @@ -624,16 +624,17 @@ function hFileOpenLocally( byVal sSourcePath as string ) as boolean sTargetPath = hFileGetLocalPath( sSourcePath ) ' The path + file ' For debugging purposes set global variable gVerbose to TRUE - - printlog( CFN & "Copying file" ) - printlog( CFN & "From: " & sSourcePath ) - printlog( CFN & "To..: " & sTargetPath ) + if ( gVerbose ) then + printlog( CFN & "Copying file" ) + printlog( CFN & "From: " & sSourcePath ) + printlog( CFN & "To..: " & sTargetPath ) + endif ' Copy the file from anywhere to the local user directory if it does not ' exist. This behavior was discussed on IRC if ( FileExists( sTargetPath ) ) then - 'printlog( CFN & "Re-using existing local copy of workfile" ) - warnlog( CFN & "Target file exists, it has not been deleted by prior test" ) + printlog( CFN & "Re-using existing local copy of workfile" ) + 'warnlog( CFN & "Target file exists, it has not been deleted by prior test" ) endif FileCopy( sSourcePath, sTargetPath ) |