Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/devbot
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2012-11-29 17:40:07 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2012-11-29 17:40:07 (GMT)
commit747b165600dd1c7787ca0aed73d6f75a69959961 (patch)
treea3b1ee26422bd44c61ed78a483a70b5b06d35f56 /devbot
parent1b42be673b2cd237ce873df9f4b0b339aab9518a (diff)
Pass output and resolution prefs to sugar-runner
Diffstat (limited to 'devbot')
-rw-r--r--devbot/run.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/devbot/run.py b/devbot/run.py
index 451da96..1c01b79 100644
--- a/devbot/run.py
+++ b/devbot/run.py
@@ -22,6 +22,14 @@ def run_sugar():
print "Cannot run two instances with the same profile."
return
+ resolution = config.get_pref("RESOLUTION")
+ if resolution:
+ os.environ["SUGAR_RUNNER_RESOLUTION"] = resolution
+
+ output = config.get_pref("OUTPUT")
+ if output:
+ os.environ["SUGAR_RUNNER_OUTPUT"] = output
+
run(["sugar-runner"])
def _get_random_id():