[PATCH] Send email notification for failures on lldb android builder
Ying Chen
chying at google.com
Fri May 29 14:24:06 PDT 2015
REPOSITORY
rL LLVM
http://reviews.llvm.org/D9953
Files:
zorg/trunk/buildbot/osuosl/master/config/status.py
zorg/trunk/zorg/buildbot/builders/LLDBBuilder.py
Index: zorg/trunk/zorg/buildbot/builders/LLDBBuilder.py
===================================================================
--- zorg/trunk/zorg/buildbot/builders/LLDBBuilder.py
+++ zorg/trunk/zorg/buildbot/builders/LLDBBuilder.py
@@ -255,6 +255,7 @@
llvm_builddir = "build"
if env is None:
env = {}
+ flunkTestFailure = True
extraTestFlag = ''
# TODO: for now, run tests with 8 threads and without mi tests on android
# come back when those issues are addressed
@@ -282,6 +283,8 @@
if remote_platform is not None:
urlStr='connect://%(remote_host)s:%(remote_port)s'
if remote_platform is 'android':
+ #i386/x86_64 are the only android archs that are expected to pass at this time
+ flunkTestFailure = arch in ('i386', 'x86_64')
testenv['LLDB_TEST_THREADS'] = '8'
extraTestFlag = ' -m'
urlStr = 'adb://%(deviceid)s:%(remote_port)s'
@@ -308,6 +311,8 @@
WithProperties(DOTEST_OPTS)],
description="test lldb",
parseSummaryOnly=True,
+ flunkOnFailure=flunkTestFailure,
+ warnOnFailure=flunkTestFailure,
workdir='%s' % llvm_builddir,
env=testenv))
f=cleanSVNSourceTree(f, '%s/tools/lldb' % llvm_srcdir)
Index: zorg/trunk/buildbot/osuosl/master/config/status.py
===================================================================
--- zorg/trunk/buildbot/osuosl/master/config/status.py
+++ zorg/trunk/buildbot/osuosl/master/config/status.py
@@ -130,7 +130,8 @@
subject="Build %(builder)s Failure",
mode = "failing",
builders = ["lldb-x86_64-ubuntu-14.04-cmake",
- "lldb-x86_64-darwin-13.4"],
+ "lldb-x86_64-darwin-13.4",
+ "lldb-x86_64-ubuntu-14.04-android"],
addLogs=False,
num_lines = 15),
InformativeMailNotifier(
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9953.26820.patch
Type: text/x-patch
Size: 2220 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150529/4f70cca4/attachment.bin>
More information about the llvm-commits
mailing list