[zorg] r244236 - [LNT] Change halting criteria for ClangBuilder bots

Renato Golin via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 6 11:05:34 PDT 2015


Author: rengolin
Date: Thu Aug  6 13:05:34 2015
New Revision: 244236

URL: http://llvm.org/viewvc/llvm-project?rev=244236&view=rev
Log:
[LNT] Change halting criteria for ClangBuilder bots

Only halt on first stage check IFF we're not running the test-suite
AND we're not doing a two-stage build.

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=244236&r1=244235&r2=244236&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/ClangBuilder.py (original)
+++ zorg/trunk/zorg/buildbot/builders/ClangBuilder.py Thu Aug  6 13:05:34 2015
@@ -592,9 +592,10 @@ def getClangCMakeBuildFactory(
                                           env=env))
 
     if test and testStage1:
+        haltOnStage1Check = not useTwoStage and not runTestSuite
         f.addStep(lit_test_command.LitTestCommand(name='ninja check 1',
                                    command=ninja_check_cmd,
-                                   haltOnFailure=not runTestSuite,
+                                   haltOnFailure=haltOnStage1Check,
                                    description=["checking stage 1"],
                                    descriptionDone=["stage 1 checked"],
                                    workdir=stage1_build,




More information about the llvm-commits mailing list