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>
This commit is contained in:
parent
053322f891
commit
a0e7738463
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue