diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2008-08-13 22:37:55 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2008-08-13 22:37:55 (GMT) |
commit | 07fb6eb6ad00698f418a7b5936fa271855c7ac37 (patch) | |
tree | 3a4215151c46469c19c56aff42265e4c57967af7 /scripts | |
parent | 6cb3334a03832c6c5090f28f6d72d426a526197a (diff) |
Autocreate a profile for ui check.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/check.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/check.py b/scripts/check.py index 3ee619c..dab19c0 100644 --- a/scripts/check.py +++ b/scripts/check.py @@ -34,8 +34,12 @@ class UICheck(object): def _start_shell(self): print 'Launch the shell.' + env = os.environ + env['SUGAR_PROFILE'] = 'uicheck' + env['SUGAR_PROFILE_NAME'] = 'uicheck' + args = ['dbus-launch', '--exit-with-session', 'sugar-shell'] - shell_process = subprocess.Popen(args) + shell_process = subprocess.Popen(args, env=env) def _ui_check_exit_cb(self, pid, condition): self._exit_code = os.WEXITSTATUS(condition) |