summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2015-09-15 19:32:28 +0200
committerPatrick Georgi <pgeorgi@google.com>2015-09-16 07:43:55 +0000
commita0e77384638878ffb8b6a970f4655eb071e8a7c1 (patch)
tree928f9e2fcc0c302339f87340afd38e212dd8a699
parent053322f891961be7d7826617d2e68dab340f9a09 (diff)
downloadcoreboot-a0e77384638878ffb8b6a970f4655eb071e8a7c1.tar.xz
abuild: don't complain about missing junit reports for skipped boards
There's no need to whine about missing files, so test for them first. Change-Id: I906fd04a315de70340ce76d7c38eaaf88cc6580a Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: http://review.coreboot.org/11642 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
-rwxr-xr-xutil/abuild/abuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/util/abuild/abuild b/util/abuild/abuild
index 73ec8c322e..98550e15c5 100755
--- a/util/abuild/abuild
+++ b/util/abuild/abuild
@@ -660,7 +660,9 @@ if [ "$target" != "" ]; then
build_target $VENDOR $MAINBOARD $CONFIG
test_target $VENDOR $MAINBOARD
remove_target $VENDOR $MAINBOARD
- test "$mode" != "text" && cat $TARGET/abuild/${VENDOR}_${MAINBOARD}.xml >> $REAL_XMLFILE
+ test "$mode" != "text" && \
+ test -f $TARGET/abuild/${VENDOR}_${MAINBOARD}.xml && \
+ cat $TARGET/abuild/${VENDOR}_${MAINBOARD}.xml >> $REAL_XMLFILE
XMLFILE=$REAL_XMLFILE
fi
else