From a0e77384638878ffb8b6a970f4655eb071e8a7c1 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Tue, 15 Sep 2015 19:32:28 +0200 Subject: 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 Reviewed-on: http://review.coreboot.org/11642 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Paul Menzel --- util/abuild/abuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'util/abuild') 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 -- cgit v1.2.3