Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bug 674357 - Write a test to make sure slaves can't be allocated to b…

…oth try and prod.
  • Loading branch information...
commit 07ab31050e904e55aaae2b2e788fb2514d99e9fd 1 parent 1e78491
@rail rail authored
Showing with 9 additions and 0 deletions.
  1. +1 −0  master/master.cfg
  2. +8 −0 master/preproduction_factory.py
View
1  master/master.cfg
@@ -85,6 +85,7 @@ f.bbc_pylint()
f.tools_pylint()
f.tools_run_tests()
f.bbc_run_tests()
+f.config_tests()
for project in ('buildbotcustom',):
f.coverage(project)
for r in ('buildbotcustom/buildbotcustom', 'buildbot-configs', 'tools'):
View
8 master/preproduction_factory.py
@@ -179,6 +179,14 @@ def bbc_run_tests(self):
flunkOnFailure=False,
))
+ def config_tests(self):
+ self.addStep(ShellCommand(
+ workdir='buildbot-configs/mozilla',
+ command=['bash', '-c',
+ 'exit=0; for f in test/*.py; do trial $f || exit=1; done; exit $exit'],
+ name='config_tests',
+ ))
+
def run_on_master(self, master_dir, cmd):
self.addStep(MasterShellCommand(
name='master_cmd',
Please sign in to comment.
Something went wrong with that request. Please try again.