This commit is contained in:
Sergio Durigan Junior 2016-07-23 13:05:23 -04:00
parent 133243beb9
commit 2ee4bd06cd

View file

@ -413,7 +413,7 @@ send to the gdb-testers mailing list."""
git_url = "http://gdb-build.sergiodj.net/cgit"
branch = build.getSourceStamps ()[0].branch
sourcestamp = build.getSourceStamps ()[0]
cur_change = sourcestamp.patch
cur_change = sourcestamp.patch[0]
properties = build.getProperties ()
isrebuild = properties.getProperty ('isRebuild')
@ -459,7 +459,7 @@ send to the gdb-testers mailing list."""
for log in build.getLogs ():
st = log.getStep ()
n = st.getName ()
if st.getResults ()[0] == SUCCESS or st.getResults ()[0] == WARNING:
if st.getResults ()[0] == SUCCESS or st.getResults ()[0] == WARNINGS:
if n == 'regressions':
text += "Congratulations! No regressions were found in this build!\n\n"
break