Permalink
Browse files

Bug 760667 - Make instance defaults for jetperf.py configurable;r=aki

  • Loading branch information...
1 parent 3da552a commit cb78325a3ab6a3daadc0ac7d96da4a19870d21fd Jeff Hammel committed Aug 28, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/jetperf.py
View
4 scripts/jetperf.py
@@ -75,9 +75,9 @@ def __init__(self, require_config_file=False):
require_config_file=require_config_file)
# set instance defaults
- self.addon_sdk = os.path.join(self.workdir, 'addon-sdk')
+ self.addon_sdk = self.config.get('addon_sdk_path', os.path.join(self.workdir, 'addon-sdk'))
self.addonsdir = os.path.join(self.workdir, 'addons')
- self.test_addons_clone = os.path.join(self.workdir, 'addons_clone')
+ self.test_addons_clone = self.config.get('test_addons_clone_path', os.path.join(self.workdir, 'addons_clone'))
# ensure we have tests
self.preflight_generate_config()

0 comments on commit cb78325

Please sign in to comment.