Improving reporting of timeout git

This commit is contained in:
Sergio Durigan Junior 2015-02-04 23:21:32 -05:00
parent e64e6fffd6
commit 659e170888

View file

@ -184,8 +184,10 @@ send to the gdb-testers mailing list."""
st = log.getStep ()
if st.getResults ()[0] == FAILURE:
n = st.getName ()
if n == 'update gdb master repo' or n == 'update gdb repo':
text += "*** Failed to update GDB git repository. This is probably a timeout problem with sourceware. ***\n"
if n == 'update gdb master repo':
text += "*** Failed to update master GDB git repository. The build can continue. ***\n\n"
elif or n == 'update gdb repo':
text += "*** Failed to update GDB git repository. This is probably a timeout problem. ***\n\n"
break
elif n == 'configure gdb':
text += "*** Failed to configure GDB. ***\n"