Treating make check retcode==2 as success (argh)

This commit is contained in:
Sergio Durigan Junior 2015-01-09 18:44:54 -05:00
parent 43faf6b691
commit 91743dcfc9

View file

@ -316,7 +316,10 @@ BuildBot halt on failure."""
descriptionDone = r"tested GDB"
def __init__ (self, extra_make_check_flags = [], test_env = {},
**kwargs):
ShellCommand.__init__ (self, **kwargs)
ShellCommand.__init__ (self, decodeRC = { 0 : SUCCESS,
1 : SUCCESS,
2 : SUCCESS },
**kwargs)
self.workdir = WithProperties (r"%s/build/gdb/testsuite", r'builddir')
self.command = ['make',
@ -328,7 +331,6 @@ BuildBot halt on failure."""
self.haltOnFailure = False
self.flunkOnFailure = False
self.flunkOnWarnings = False
self.decodeRC = { 0 : SUCCESS, 1 : SUCCESS, 2 : SUCCESS }
#######################