util/abuild: Use realpath for FAILED_BOARDS/PASSED_BOARDS
commitc989e0bd56ae19770af91e30cbbf9dc5c9717da8
authorRaul E Rangel <rrangel@chromium.org>
Mon, 22 Jul 2019 21:09:37 +0000 (22 15:09 -0600)
committerMartin Roth <martinroth@google.com>
Sat, 3 Aug 2019 17:11:17 +0000 (3 17:11 +0000)
tree10eeec2bafa01809605e4b4c4c457dc34cddcf4c
parenteaee392cb323e2d4e9e6fd985dda4a0bbbeb5b87
util/abuild: Use realpath for FAILED_BOARDS/PASSED_BOARDS

The abuild script will `cd` into the build directory. FAILED_BOARDS
defaults to a relative path, so it ends up trying to echo into a
directory that doesn't exist.

If we set the realpath to the file then we can correctly update the
failed/passed boards file.

BUG=none
TEST=make what-jenkins-does and verified there was a failed_boards and
passed_boards in coreboot-builds.

Change-Id: Ib3af003b090668380a9425583a9f4367023820a6
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34526
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
util/abuild/abuild