[zorg] r217316 - Using LIT command on CMake ClangBuilder

Renato Golin renato.golin at linaro.org
Sat Sep 6 12:09:16 PDT 2014


Author: rengolin
Date: Sat Sep  6 14:09:16 2014
New Revision: 217316

URL: http://llvm.org/viewvc/llvm-project?rev=217316&view=rev
Log:
Using LIT command on CMake ClangBuilder

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

Modified: zorg/trunk/zorg/buildbot/builders/ClangBuilder.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/ClangBuilder.py?rev=217316&r1=217315&r2=217316&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/ClangBuilder.py (original)
+++ zorg/trunk/zorg/buildbot/builders/ClangBuilder.py Sat Sep  6 14:09:16 2014
@@ -492,11 +492,12 @@ def getClangCMakeBuildFactory(
                                           env=env))
 
     if test and testStage1:
-        f.addStep(ShellCommand(name='check stage 1',
-                               command=ninja_check_cmd,
-                               description='ninja check-all',
-                               workdir=stage1_build,
-                               env=env))
+        f.addStep(lit_test_command.LitTestCommand(name='ninja check 1',
+                                   command=ninja_check_cmd,
+                                   description=["checking stage 1"],
+                                   descriptionDone=["stage 1 checked"],
+                                   workdir=stage1_build,
+                                   env=env))
 
     if not useTwoStage:
         return f
@@ -547,11 +548,12 @@ def getClangCMakeBuildFactory(
                                           env=env))
  
     if test:
-        f.addStep(ShellCommand(name='check stage 2',
-                               command=ninja_check_cmd,
-                               description='ninja check-all',
-                               workdir=stage2_build,
-                               env=env))
+        f.addStep(lit_test_command.LitTestCommand(name='ninja check 2',
+                                   command=ninja_check_cmd,
+                                   description=["checking stage 2"],
+                                   descriptionDone=["stage 2 checked"],
+                                   workdir=stage2_build,
+                                   env=env))
 
     return f
 





More information about the llvm-commits mailing list