[zorg] r183168 - Add support for submitting results to an LNT database for phased LNT builders.
David Dean
david_dean at apple.com
Mon Jun 3 16:21:11 PDT 2013
Author: ddean
Date: Mon Jun 3 18:21:11 2013
New Revision: 183168
URL: http://llvm.org/viewvc/llvm-project?rev=183168&view=rev
Log:
Add support for submitting results to an LNT database for phased LNT builders.
Modified:
zorg/trunk/zorg/buildbot/builders/LNTBuilder.py
Modified: zorg/trunk/zorg/buildbot/builders/LNTBuilder.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/LNTBuilder.py?rev=183168&r1=183167&r2=183168&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/LNTBuilder.py (original)
+++ zorg/trunk/zorg/buildbot/builders/LNTBuilder.py Mon Jun 3 18:21:11 2013
@@ -194,5 +194,12 @@ def CreateLNTNightlyFactory(nt_flags, cc
args = [WithProperties('%(builddir)s/lnt.venv/bin/python'),
WithProperties('%(builddir)s/lnt.venv/bin/lnt'),
'runtest', '--verbose']
+ if db_url:
+ f.addStep(buildbot.steps.shell.SetProperty(
+ name='db_url',
+ command=['echo', db_url, ':', WithProperties('%(buildername)s')],
+ extract_fn=_get_db_url,
+ workdir=WithProperties('%(builddir)s')))
+ args.extend(['--submit', WithProperties('%(db_url)s')])
return f
More information about the llvm-commits
mailing list