Skip to content

Commit

Permalink
Also for peddi tests: New mechanism to kill -9 VICE if it fails to te…
Browse files Browse the repository at this point in the history
…rminate after 20 seconds.
  • Loading branch information
pzembrod committed Sep 1, 2020
1 parent 09e5a06 commit 90e6452
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/peddi/run-peddi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,11 @@ then
done
sleep 0.5

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

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

0 comments on commit 90e6452

Please sign in to comment.