[zorg] r272311 - [zorg] Add a step to run unit tests to the scripted LLDB builder

Pavel Labath via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 9 14:13:49 PDT 2016

Author: labath
Date: Thu Jun  9 16:13:49 2016
New Revision: 272311

URL: http://llvm.org/viewvc/llvm-project?rev=272311&view=rev
[zorg] Add a step to run unit tests to the scripted LLDB builder

For the time being they are run with flunkOnFailure=False. If they prove to
be reliable. I will switch them to True.

Reviewers: chying, gkistanova

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D21159


Modified: zorg/trunk/zorg/buildbot/builders/LLDBBuilder.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/LLDBBuilder.py?rev=272311&r1=272310&r2=272311&view=diff
--- zorg/trunk/zorg/buildbot/builders/LLDBBuilder.py (original)
+++ zorg/trunk/zorg/buildbot/builders/LLDBBuilder.py Thu Jun  9 16:13:49 2016
@@ -967,6 +967,13 @@ def getLLDBScriptCommandsFactory(
     # Test
     if runTest:
+        f.addStep(LitTestCommand(name="run unit tests",
+                                 command=[pathSep + 'testUnit' + scriptExt],
+                                 description=["testing"],
+                                 descriptionDone=["unit test"],
+                                 flunkOnFailure=False,
+                                 warnOnFailure=False,
+                                 workdir='scripts'))
         getTestSteps(f, scriptExt, pathSep)
         # upload test traces
         getShellCommandStep(f, name='upload test traces',

More information about the llvm-commits mailing list