Improving racy analyzer
This commit is contained in:
parent
6a671d9b07
commit
a2bd0f0a9f
1 changed files with 7 additions and 2 deletions
|
@ -21,6 +21,11 @@ class GDBAnalyzeRacyTests (ShellCommand):
|
||||||
racy_tests = p.read_sum_text (self.getLog ('stdio').getText ())
|
racy_tests = p.read_sum_text (self.getLog ('stdio').getText ())
|
||||||
xfails = p.read_xfail (builder, branch)
|
xfails = p.read_xfail (builder, branch)
|
||||||
|
|
||||||
|
if not racy_tests[1]:
|
||||||
|
return SUCCESS
|
||||||
|
elif not xfails[1]:
|
||||||
|
unique_tests = racy_tests[1]['NONE']
|
||||||
|
else:
|
||||||
unique_tests = racy_tests[1]['NONE'] - xfails[1]['FAIL']
|
unique_tests = racy_tests[1]['NONE'] - xfails[1]['FAIL']
|
||||||
|
|
||||||
msg = "============================\n"
|
msg = "============================\n"
|
||||||
|
@ -35,7 +40,7 @@ class GDBAnalyzeRacyTests (ShellCommand):
|
||||||
|
|
||||||
s = smtplib.SMTP ('localhost')
|
s = smtplib.SMTP ('localhost')
|
||||||
s.sendmail ('gdb-buildbot@sergiodj.net',
|
s.sendmail ('gdb-buildbot@sergiodj.net',
|
||||||
[ 'GDB BuildBot Racy Detector <gdb-buildbot@sergiodj.net>' ],
|
[ 'gdb-buildbot@sergiodj.net' ],
|
||||||
mail.as_string ())
|
mail.as_string ())
|
||||||
s.quit ()
|
s.quit ()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue