[zorg] r178456 - [llvmlab] Fixed localhost slave so that it only runs in non-production mode.

Michael Gottesman mgottesman at apple.com
Sun Mar 31 22:59:07 PDT 2013


Author: mgottesman
Date: Mon Apr  1 00:59:07 2013
New Revision: 178456

URL: http://llvm.org/viewvc/llvm-project?rev=178456&view=rev
Log:
[llvmlab] Fixed localhost slave so that it only runs in non-production mode.

Modified:
    zorg/trunk/buildbot/llvmlab/master/config/slaves.py

Modified: zorg/trunk/buildbot/llvmlab/master/config/slaves.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/buildbot/llvmlab/master/config/slaves.py?rev=178456&r1=178455&r2=178456&view=diff
==============================================================================
--- zorg/trunk/buildbot/llvmlab/master/config/slaves.py (original)
+++ zorg/trunk/buildbot/llvmlab/master/config/slaves.py Mon Apr  1 00:59:07 2013
@@ -26,8 +26,7 @@ def get_build_slaves():
     yield create_slave('xserve4', jobs = 4, max_builds = 2)
     yield create_slave('xserve5', jobs = 4, max_builds = 2)
 
-    has_production = config.options.has_option('Master Options', 'is_production')
     is_production = config.options.has_option('Master Options', 'is_production')
-    if has_production and is_production:
+    if not is_production:
         # Test slave which can do anything.
         yield create_slave('localhost', 8)





More information about the llvm-commits mailing list