Skip to content
This repository has been archived by the owner on May 15, 2018. It is now read-only.

Commit

Permalink
Hardcoded fix to run endurance tests for en-US only (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
whimboo committed Mar 11, 2013
1 parent d5e9e15 commit cb7ace5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pulse.py
Expand Up @@ -273,6 +273,11 @@ def on_build(self, data, message):
target_platform = self.get_platform_identifier(platform) target_platform = self.get_platform_identifier(platform)


for testrun in target_branch['testruns']: for testrun in target_branch['testruns']:
# TODO: Pretty bad hack, so make it configurable in the json config (#209)
# Do not run endurance tests for localized versions of Firefox
if testrun in ['endurance'] and locale != 'en-US':
continue

# Fire off a build for each supported platform # Fire off a build for each supported platform
for node in target_branch['platforms'][target_platform]: for node in target_branch['platforms'][target_platform]:
parameters = self.generate_job_parameters(testrun, node, parameters = self.generate_job_parameters(testrun, node,
Expand Down

0 comments on commit cb7ace5

Please sign in to comment.