Skip to content

Commit 8fa0fbb

Browse files
AfoHTkorken89
authored andcommitted
ci: QEMU: Match more precisely with "our" QEMU
1 parent 96542ec commit 8fa0fbb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/esp32c3/runner.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ echo q | nc -N 127.0.0.1 55555 >>"$tempdir"/$qemuoutputfile 2>&1
3535

3636
sleep 0.1s
3737
# If still running, try again nicely
38-
pgrep -af "qemu-system.*" >/dev/null 2>&1 && echo q | nc -N 127.0.0.1 55555 >>"$tempdir"/$qemuoutputfile 2>&1
38+
pgrep -af "qemu-system.*esp32c3.*" >/dev/null 2>&1 && echo q | nc -N 127.0.0.1 55555 >>"$tempdir"/$qemuoutputfile 2>&1
3939

4040
# Ask a bit more firmly with SIGTERM
41-
pgrep -af "qemu-system.*" >/dev/null 2>&1 && kill $qemupid >/dev/null 2>&1
41+
pgrep -af "qemu-system.*esp32c3.*" >/dev/null 2>&1 && kill $qemupid >/dev/null 2>&1
4242

43-
pgrep -af "qemu-system.*" >/dev/null 2>&1 && sleep 0.1s >/dev/null 2>&1
43+
pgrep -af "qemu-system.*esp32c3.*" >/dev/null 2>&1 && sleep 0.1s >/dev/null 2>&1
4444

4545
# Time to die
46-
pgrep -af "qemu-system.*" >/dev/null 2>&1 && kill -9 $qemupid >/dev/null 2>&1
46+
pgrep -af "qemu-system.*esp32c3.*" >/dev/null 2>&1 && kill -9 $qemupid >/dev/null 2>&1
4747

4848
# Make boot phase silent, for debugging change, run with e.g. $ `env DEBUGGING=true` cargo xtask....
4949
if [ -n "${DEBUGGING}" ]; then

0 commit comments

Comments
 (0)