automationdev300m87: #i112208# - Debugging test cases: Enabled debug output for hFileOpenLocally() by default

This commit is contained in:
Joerg Skottke [jsk] 2010-09-16 11:56:19 +02:00
parent f9b8934ca1
commit 32ae66f4d3

View file

@ -627,14 +627,13 @@ function hFileOpenLocally( byVal sSourcePath as string ) as boolean
' exist. This behavior was discussed on IRC
if ( FileExists( sTargetPath ) ) then
'printlog( CFN & "Re-using existing local copy of workfile" )
warnlog( CFN & "About to reuse existing file. Please check" )
else
if ( GVERBOSE ) then
printlog( CFN & "Copying file" )
printlog( CFN & "From: " & sSourcePath )
printlog( CFN & "To..: " & sTargetPath )
endif
warnlog( CFN & "Target file exists, it has not been deleted by prior test" )
endif
printlog( CFN & "Copying file" )
printlog( CFN & "From: " & sSourcePath )
printlog( CFN & "To..: " & sTargetPath )
FileCopy( sSourcePath, sTargetPath )
' Verify that the file has been created. return an empty string and warn