Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
Bug 674357 - Write a test to make sure slaves can't be allocated to b…
Browse files Browse the repository at this point in the history
…oth try and prod.
  • Loading branch information
Rail Aliev committed Jul 27, 2011
1 parent 1e78491 commit 07ab310
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions master/master.cfg
Expand Up @@ -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'):
Expand Down
8 changes: 8 additions & 0 deletions master/preproduction_factory.py
Expand Up @@ -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',
Expand Down

0 comments on commit 07ab310

Please sign in to comment.