aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Tjäder <henrik@tjaders.com>2025-03-26 20:47:12 +0100
committerHenrik Tjäder <henrik@tjaders.com>2025-04-01 20:32:53 +0000
commit4f04962e42878ea86d92a633e257a0a63504b2f5 (patch)
tree7c0e4c62ce41b49fa61f82ae46308e0f1a296601
parent6aafb89e99b6cd4f6bf8c9dc6057b1f3f5b63ba8 (diff)
CI: ESP32-C3: Tweak runner script not print version
-rwxr-xr-xexamples/esp32c3/runner.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/esp32c3/runner.sh b/examples/esp32c3/runner.sh
index 5dcbde4..1db2111 100755
--- a/examples/esp32c3/runner.sh
+++ b/examples/esp32c3/runner.sh
@@ -18,14 +18,13 @@ espflash save-image --chip esp32c3 --merge "$outputfilenamecargo" "$outputfilena
esptool.py image_info --version 2 "$outputfilename" 1>&2
# Run in QEMU
-$qemuexec -nographic -monitor tcp:127.0.0.1:55555,server,nowait -icount 3 -machine esp32c3 -drive file="$outputfilename",if=mtd,format=raw -serial file:"$logfile" &
+$qemuexec -nographic -monitor tcp:127.0.0.1:55555,server,nowait -icount 3 -machine esp32c3 -drive file="$outputfilename",if=mtd,format=raw -serial file:"$logfile" > qemuoutput.log 2>&1 &
# Let it run
sleep 3s
# Kill QEMU nicely by sending 'q' (quit) over tcp
-echo q | nc -N 127.0.0.1 55555
-
+echo q | nc -N 127.0.0.1 55555 >> qemuoutput.log 2>&1
# Output that will be compared must be printed to stdout
# Make boot phase silent, for debugging change, run with e.g. $ `env DEBUGGING=true` cargo xtask....