board_status: Tell user where to find output when results are uploaded

If results are uploaded the temporary directory in which they are
stored gets deleted, yet we currently point to the deleted directory in
the output.

This patch fixes it so that we point to the actual location in the local
repository where uploaded results are found.

Change-Id: I1f42c3296ec1d19fcfa4911307e07e67de289895
Signed-off-by: David Hendricks <david.hendricks@gmail.com>
Reviewed-on: https://review.coreboot.org/21415
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
David Hendricks 2017-09-05 23:38:03 -07:00 committed by Martin Roth
parent ac87a9804b
commit 588a72210d
1 changed files with 7 additions and 2 deletions

View File

@ -441,8 +441,13 @@ cd "$coreboot_dir"
if [ $CLOBBER_OUTPUT -eq 1 ]; then if [ $CLOBBER_OUTPUT -eq 1 ]; then
rm -rf "${tmpdir}" rm -rf "${tmpdir}"
else else
echo if [ $UPLOAD_RESULTS -eq 1 ]; then
echo "output files are in ${tmpdir}/${results}" echo
echo "output files are in $(dirname $0)/board-status/${mainboard_dir}/${tagged_version}/${timestamp}"
else
echo
echo "output files are in ${tmpdir}/${results}"
fi
fi fi
exit $EXIT_SUCCESS exit $EXIT_SUCCESS