[zorg] r222706 - Change LibcxxAndABIBuilder to use LitTestCommand to get better output

Eric Fiselier eric at efcs.ca
Mon Nov 24 15:16:58 PST 2014


Author: ericwf
Date: Mon Nov 24 17:16:58 2014
New Revision: 222706

URL: http://llvm.org/viewvc/llvm-project?rev=222706&view=rev
Log:
Change LibcxxAndABIBuilder to use LitTestCommand to get better output

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

Modified: zorg/trunk/zorg/buildbot/builders/LibcxxAndAbiBuilder.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/LibcxxAndAbiBuilder.py?rev=222706&r1=222705&r2=222706&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/LibcxxAndAbiBuilder.py (original)
+++ zorg/trunk/zorg/buildbot/builders/LibcxxAndAbiBuilder.py Mon Nov 24 17:16:58 2014
@@ -11,6 +11,8 @@ import zorg.buildbot.commands.LitTestCom
 import zorg.buildbot.util.artifacts as artifacts
 import zorg.buildbot.util.phasedbuilderutils as phased_builder_utils
 
+from zorg.buildbot.commands.LitTestCommand import LitTestCommand
+
 reload(lit_test_command)
 reload(artifacts)
 reload(phased_builder_utils)
@@ -111,13 +113,19 @@ def getLibcxxAndAbiBuilder(f=None, env={
               haltOnFailure=True, workdir=build_path))
 
     # Test libc++abi
-    f.addStep(buildbot.steps.shell.ShellCommand(
-        name='test.libcxxabi', command=['make', 'check-libcxxabi'],
-        workdir=build_path))
+    f.addStep(LitTestCommand(
+        name            = 'test.libcxxabi',
+        command         = ['make', 'check-libcxxabi'],
+        description     = ['testing', 'libcxxabi'],
+        descriptionDone = ['test', 'libcxxabi'],
+        workdir         = build_path))
 
     # Test libc++
-    f.addStep(buildbot.steps.shell.ShellCommand(
-        name='test.libcxx', command=['make', 'check-libcxx'],
-        workdir=build_path))
+    f.addStep(LitTestCommand(
+        name            = 'test.libcxx',
+        command         = ['make', 'check-libcxx'],
+        description     = ['testing', 'libcxx'],
+        descriptionDone = ['test', 'libcxx'],
+        workdir         = build_path))
 
     return f





More information about the llvm-commits mailing list