From 588a72210d5e7cbefc46eef4b3b1d1a48bfeff8e Mon Sep 17 00:00:00 2001 From: David Hendricks Date: Tue, 5 Sep 2017 23:38:03 -0700 Subject: 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 Reviewed-on: https://review.coreboot.org/21415 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- util/board_status/board_status.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'util') 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 -- cgit v1.2.3