Skip to content

Commit 935d618

Browse files
committed
feat: add Renode output logging to test script
1 parent ed62dea commit 935d618

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

scripts/run_renode_tests.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@ echo "Monitor output:"
9696
cat "$MONITOR_LOG"
9797
echo ""
9898

99+
echo "Renode output:"
100+
cat "$CONNECT_LOG"
101+
echo ""
102+
99103
# Verify expected log messages
100104
bash "$VERIFY_SCRIPT" "$MONITOR_LOG" "$EXPECTED_LOGS"
101105
VERIFY_STATUS=$?
@@ -108,10 +112,11 @@ echo "Cleaning up processes..."
108112
kill "$MONITOR_PID" 2>/dev/null || true
109113
kill "$CONNECT_PID" 2>/dev/null || true
110114
sleep 2
115+
111116
pkill -9 -f renode 2>/dev/null || true
112117
pkill -9 -f mono 2>/dev/null || true
113118

114-
echo ""
119+
echo " ✓ Cleanup completed"
115120
echo "=============================================="
116121
if [ "$VERIFY_STATUS" -eq 0 ]; then
117122
echo " Renode emulation tests PASSED"

0 commit comments

Comments
 (0)