Skip to content

Commit

Permalink
Try Create Directory ${results_dir} first
Browse files Browse the repository at this point in the history
Issue #178
  • Loading branch information
damies13 committed Feb 25, 2024
1 parent f8d0cd3 commit f1189c6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Tests/Regression/Agent/ºCommon.robot
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ ${process_manager} None
# datapath: /home/runner/work/rfswarm/rfswarm/rfswarm_manager/results/PreRun
# datapath: /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/rfswarm_manager/results/PreRun -- let's control the output path rather than leaving it to chance
# datapath: /opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/rfswarm_manager/PreRun
${results_dir} ${EXECDIR}${/}rfswarm_manager${/}results
# ${results_dir} ${EXECDIR}${/}rfswarm_manager${/}results
${results_dir} ${TEMPDIR}${/}rfswarm_manager${/}results

*** Keywords ***

Expand All @@ -42,6 +43,7 @@ Run Manager CLI
IF ${options} == None
${options}= Create List
END
Create Directory ${results_dir}
Append To List ${options} -d ${results_dir}
Log to console ${\n}\${options}: ${options}
# ${process}= Start Process python3 ${pyfile_manager} @{options} alias=Manager stdout=${OUTPUT DIR}${/}stdout_manager.txt stderr=${OUTPUT DIR}${/}stderr_manager.txt
Expand Down

0 comments on commit f1189c6

Please sign in to comment.