From 2e6227e27572dbcbd80c53809e23f0d0c9f03313 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= Date: Sun, 8 Jun 2025 19:44:55 +0200 Subject: [PATCH] ci: esp32c3: runner: Store QEMU pid Ensure that qemu fully exited before proceeding --- examples/esp32c3/runner.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/esp32c3/runner.sh b/examples/esp32c3/runner.sh index 1db211197ce..05cc6c823fb 100755 --- a/examples/esp32c3/runner.sh +++ b/examples/esp32c3/runner.sh @@ -20,6 +20,8 @@ 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" > qemuoutput.log 2>&1 & +qemupid=$! + # Let it run sleep 3s