Skip to content

Commit

Permalink
runtests.sh: dump crash files to stdout in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mwhudson committed Jul 20, 2023
1 parent 5a4686f commit cab3f07
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/runtests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,13 @@ on_exit () {
else
echo 'Runtests FAILURE'
echo "Output from the last run is at $tmpdir"
if [ -n "${GITHUB_ACTIONS:-}" -a -d $tmpdir/var/crash -a -n "$(ls -A $tmpdir/var/crash)" ] ; then
for file in $tmpdir/var/crash/*.crash; do
echo "--- Start crash file $file ---"
cat $file
echo "--- End crash file $file ---"
done
fi
fi

if [ -n "$subiquity_pid" ] ; then
Expand Down

0 comments on commit cab3f07

Please sign in to comment.