Skip to content

Commit 14273df

Browse files
committed
fix: remove timeout from monitor-gdb execution for improved log capture
1 parent 935d618 commit 14273df

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ jobs:
167167
168168
- name: Run Renode emulation tests
169169
run: |
170-
bash "$GITHUB_WORKSPACE"/scripts/run_renode_tests.sh "$GITHUB_WORKSPACE" "$GITHUB_WORKSPACE/build"
170+
./scripts/run_renode_tests.sh
171171
172172
build-all:
173173
name: All builds completed

scripts/run_monitor_gdb.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ message(STATUS "Connecting to GDB server at localhost:3333 (OpenOCD GDB server)"
3636
# Use execute_process without OUTPUT/ERROR capture so output goes directly to terminal
3737
# OpenOCD's GDB server runs on port 3333 by default
3838
execute_process(
39-
COMMAND ${DMLOG_MONITOR_EXECUTABLE} --gdb --port 3333 --addr ${DMLOG_RING_BUFFER_ADDR}
39+
COMMAND ${DMLOG_MONITOR_EXECUTABLE} --gdb --port 3333 --addr ${DMLOG_RING_BUFFER_ADDR} --time
4040
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}
4141
# Don't capture OUTPUT or ERROR - let them pass through to terminal
4242
INPUT_FILE /dev/stdin

scripts/run_renode_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ echo ""
8686
# -------------------------------------------------------
8787
echo "[4/4] Running monitor-gdb to capture firmware logs..."
8888
MONITOR_LOG="$BUILD_DIR/monitor.log"
89-
timeout "$MONITOR_TIMEOUT" cmake --build "$BUILD_DIR" --target monitor-gdb > "$MONITOR_LOG" 2>&1 &
89+
cmake --build "$BUILD_DIR" --target monitor-gdb > "$MONITOR_LOG" 2>&1 &
9090
MONITOR_PID=$!
9191

9292
# Give the firmware time to produce log output

0 commit comments

Comments
 (0)