summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hendricks <dhendrix@chromium.org>2017-09-05 23:38:03 -0700
committerMartin Roth <martinroth@google.com>2017-09-20 01:22:41 +0000
commit588a72210d5e7cbefc46eef4b3b1d1a48bfeff8e (patch)
treeb8aa276d937bce949fc550090115d7617a0d6167
parentac87a9804bc2464c30c4aaf6a6eab3df6bb4b01f (diff)
downloadcoreboot-588a72210d5e7cbefc46eef4b3b1d1a48bfeff8e.tar.xz
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>
-rwxr-xr-xutil/board_status/board_status.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh
index 76da47990f..8927bc012e 100755
--- a/util/board_status/board_status.sh
+++ b/util/board_status/board_status.sh
@@ -441,8 +441,13 @@ cd "$coreboot_dir"
if [ $CLOBBER_OUTPUT -eq 1 ]; then
rm -rf "${tmpdir}"
else
- echo
- echo "output files are in ${tmpdir}/${results}"
+ if [ $UPLOAD_RESULTS -eq 1 ]; then
+ 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
exit $EXIT_SUCCESS