X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Flibraries%2FUtils.robot;h=9acdba054c7fa4c17f034a111d81192df7e7e1c8;hb=d63cae74873f3c47a1a093ffa132ed88037e1968;hp=f4c1bdf9ed69cf67fd051525a7c9974791abf4b4;hpb=b52b8b31384228e987619848cb8c95378ad43035;p=integration%2Ftest.git diff --git a/csit/libraries/Utils.robot b/csit/libraries/Utils.robot index f4c1bdf9ed..9acdba054c 100644 --- a/csit/libraries/Utils.robot +++ b/csit/libraries/Utils.robot @@ -413,13 +413,14 @@ Post Log Check [Return] ${resp} Get Log File Name - [Arguments] ${testtool} + [Arguments] ${testtool} ${testcase}=${EMPTY} [Documentation] Get the name of the suite sanitized to be usable as a part of filename. ... These names are used to constructs names of the log files produced ... by the testing tools so two suites using a tool wont overwrite the ... log files if they happen to run in one job. ${name}= BuiltIn.Evaluate """${SUITE_NAME}""".replace(" ","-").replace("/","-").replace(".","-") - [Return] ${testtool}--${name}.log + ${suffix}= BuiltIn.Set_Variable_If '${testcase}' != '' --${testcase} ${EMPTY} + [Return] ${testtool}--${name}${suffix}.log Set_User_Configurable_Variable_Default [Arguments] ${name} ${value}