Skip to content

Commit

Permalink
Issue #171 CLI try 2
Browse files Browse the repository at this point in the history
  • Loading branch information
damies13 committed Feb 14, 2024
1 parent 3bd6cb8 commit 5bc83cd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion Tests/Regression/Agent/ºBugs.robot
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ Resource ºCommon.robot
Issue #171
[Tags] ubuntu-latest windows-latest macos-latest
Run Agent
@{mngr_options}= Create List -s b -n
Log to console ${CURDIR}
${scenariofile}= Normalize Path ${CURDIR}${/}..${/}..${/}Demo${/}demo.rfs
Log to console ${scenariofile}
@{mngr_options}= Create List -s ${scenariofile} -n
Run Manager CLI @{mngr_options}
Wait For Manager
Stop Agent
Expand Down
10 changes: 8 additions & 2 deletions Tests/Regression/Agent/ºCommon.robot
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,18 @@ Show Log
Log to console -----${filename}-----${\n}

Run Agent
[Arguments] ${options}=[]
[Arguments] ${options}=None
IF ${options} == None
${options}= Create List
END
${process}= Start Process python3 ${pyfile_agent} ${options} alias=Agent stdout=${OUTPUT DIR}${/}stdout_agent.txt stderr=${OUTPUT DIR}${/}stderr_agent.txt
Set Test Variable $process_agent ${process}

Run Manager CLI
[Arguments] @{options}=[]
[Arguments] ${options}=None
IF ${options} == None
${options}= Create List
END
${process}= Start Process python3 ${pyfile_manager} ${options} alias=Agent stdout=${OUTPUT DIR}${/}stdout_manager.txt stderr=${OUTPUT DIR}${/}stderr_manager.txt
Set Test Variable $process_manager ${process}

Expand Down

0 comments on commit 5bc83cd

Please sign in to comment.