Improve output of the Android Framework compile bot

NoTry: true
Bug: skia:7469
Change-Id: I8c184968c3a04c5fbf00d641de715a3f7b98e0be
Reviewed-on: https://skia-review.googlesource.com/103463
Reviewed-by: Eric Boren <borenet@google.com>
Commit-Queue: Ravi Mistry <rmistry@google.com>
This commit is contained in:
Ravi Mistry 2018-02-05 13:37:29 -05:00 committed by Skia Commit-Bot
parent 73e391db8a
commit 85c8b493eb

View File

@ -121,23 +121,26 @@ def TriggerAndWait(options):
'to rebase or something else.')
if ret["done"]:
print
print
if ret["withpatch_success"]:
print 'Your run was successfully completed.'
print
print 'With patch logs are here: %s' % ret["withpatch_log"]
print
return 0
elif ret["nopatch_success"]:
raise AndroidCompileException('The build with the patch failed and the '
'build without the patch succeeded. This means that the patch '
'causes Android to fail compilation.\n'
'With patch logs are here: %s\n'
'No patch logs are here: %s' % (
'causes Android to fail compilation.\n\n'
'With patch logs are here: %s\n\n'
'No patch logs are here: %s\n\n' % (
ret["withpatch_log"], ret["nopatch_log"]))
else:
print ('Both with patch and no patch builds failed. This means that the'
' Android tree is currently broken. Marking this bot as '
'successful')
print
print 'With patch logs are here: %s' % ret["WithPatchLog"]
print 'No patch logs are here: %s' % ret["NoPatchLog"]
return 0