diff options
author | Patrick Georgi <pgeorgi@chromium.org> | 2015-09-15 19:32:28 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-09-16 07:43:55 +0000 |
commit | a0e77384638878ffb8b6a970f4655eb071e8a7c1 (patch) | |
tree | 928f9e2fcc0c302339f87340afd38e212dd8a699 /util/abuild | |
parent | 053322f891961be7d7826617d2e68dab340f9a09 (diff) |
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>
Diffstat (limited to 'util/abuild')
-rwxr-xr-x | util/abuild/abuild | 4 |
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 |