diff options
| author | Henrik Tjäder <henrik@tjaders.com> | 2025-06-08 19:44:55 +0200 |
|---|---|---|
| committer | Emil Fresk <emil.fresk@gmail.com> | 2025-06-18 19:14:52 +0000 |
| commit | 2e6227e27572dbcbd80c53809e23f0d0c9f03313 (patch) | |
| tree | 2c5e00aa3c48b849ee6d4046d2d39f4c46d2266e /examples/esp32c3/runner.sh | |
| parent | 8b59ec567e7171dd2f45555d6d6558b34d60e3e4 (diff) | |
ci: esp32c3: runner: Store QEMU pid
Ensure that qemu fully exited before proceeding
Diffstat (limited to 'examples/esp32c3/runner.sh')
| -rwxr-xr-x | examples/esp32c3/runner.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/esp32c3/runner.sh b/examples/esp32c3/runner.sh index 1db2111..05cc6c8 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 |
