Skip to content

Commit

Permalink
Add cmd/uart output artifacts for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
jonlamb-gh committed Oct 21, 2023
1 parent 5deef23 commit 2a5e4cc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:
sleep 2
- name: Run tests
timeout-minutes: 10
run: renode-test agp.robot

- name: Archive test results
Expand All @@ -63,3 +64,6 @@ jobs:
report.html
log.html
robot_output.xml
cmd.stdout
cmd.stderr
agp_uart.txt
4 changes: 3 additions & 1 deletion agp.robot
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Prepare Machine

Run Command
[Arguments] ${cmd_and_args}
${result}= Run Process ${cmd_and_args} shell=true
${result}= Run Process ${cmd_and_args} shell=true stdout=${CURDIR}/cmd.stdout stderr=${CURDIR}/cmd.stderr
IF ${result.rc} != 0
Log To Console ${result.stdout} console=yes
Log To Console ${result.stderr} console=yes
Expand Down Expand Up @@ -144,6 +144,8 @@ Device Applies Valid Firmware Update
... updates and boots to SLOT1
[Tags] firmware bootloader network device-protocol cli fota
Execute Command usart6 CreateFileBackend @${CURDIR}/agp_uart.txt true

Start Emulation

Wait For Device Networking
Expand Down

0 comments on commit 2a5e4cc

Please sign in to comment.