Skip to content

Commit 90e6452

Browse files
committed
Also for peddi tests: New mechanism to kill -9 VICE if it fails to terminate after 20 seconds.
1 parent 09e5a06 commit 90e6452

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/peddi/run-peddi.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,11 @@ then
4545
done
4646
sleep 0.5
4747

48+
kill9log="${basedir}/kill-9.log"
49+
vicepid=$(jobs -p %1)
4850
kill %1
51+
(sleep 20; ps -q "${vicepid}" -f --no-headers && \
52+
(kill -9 "${vicepid}" ; date)) >> "${kill9log}" 2>&1 &
4953
fi
5054

5155
wait %1 || echo "x64 returned $?"

0 commit comments

Comments
 (0)