[zorg] r176028 - Update LLDB builder to parse test results

Daniel Malea daniel.malea at intel.com
Mon Feb 25 08:31:42 PST 2013


Author: dmalea
Date: Mon Feb 25 10:31:42 2013
New Revision: 176028

URL: http://llvm.org/viewvc/llvm-project?rev=176028&view=rev
Log:
Update LLDB builder to parse test results
- use LitTestCommand instead of ShellCommand to parse clang-like test result output


Modified:
    zorg/trunk/zorg/buildbot/builders/LLDBBuilder.py

Modified: zorg/trunk/zorg/buildbot/builders/LLDBBuilder.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/LLDBBuilder.py?rev=176028&r1=176027&r2=176028&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/LLDBBuilder.py (original)
+++ zorg/trunk/zorg/buildbot/builders/LLDBBuilder.py Mon Feb 25 10:31:42 2013
@@ -87,22 +87,13 @@ def getLLDBBuildFactory(triple, outOfDir
                                           haltOnFailure=True,
                                           workdir=llvm_objdir))
 
-    # The tests are hanging on Linux at the moment due to some "expect"
-    # functionality not happening correctly. For now we will stub out the tests
-    # so we can at least get builds running and reinstate the tests later.
-
-    # Fixup file needed for tests
-    # f.addStep(ShellCommand(name"copy-gnu_libstdcpp.py",
-    #                       command="cp tools/lldb/examples/synthetic/gnu_libstdcpp.py Debug+Asserts/bin",
-    #                       workdir=llvm_srcdir))
-
     # Test.
-    f.addStep(ShellCommand(name="test",
-                           command=['nice', '-n', '10',
-                                    'make'],
-                           haltOnFailure=True, description="test lldb",
-                           env=env,
-                           workdir='%s/tools/lldb/test' % llvm_objdir))
+    f.addStep(LitTestCommand(name="test lldb",
+                             command=['nice', '-n', '10',
+                                      'make'],
+                             description="test lldb",
+                             env=env,
+                             workdir='%s/tools/lldb/test' % llvm_objdir))
 
     return f
 





More information about the llvm-commits mailing list