Closed Bug 1124567 Opened 9 years ago Closed 9 years ago
[Emulator] set moz
Settings value "screen .timeout" of the profile-to-test to 0 so the screen never sleeps
+++ This bug was initially created as a clone of Bug 1108271 +++ Bug 1108271 will keep focusing on a formal, long-term solution for system app. Let's use this bug to provide a quick solution to not block emulator-kk tests. Quote of bug 1108271 comment 13 "You can do something like this, pass a SCREEN_TIMEOUT=0 from BoardConfig.mk: https://github.com/mozilla-b2g/device-rpi/blob/ab404c/BoardConfig.mk#L54 If DEVICE_DEBUG=1 (I don't know where is it being set), the timeout will be changed to 300 sec https://github.com/mozilla-b2g/gaia/blob/05f8670/Makefile#L125 "
I was able to get this working by putting SCREEN_TIMEOUT=0 into my .userconfig. I haven't yet been able to make this work from makefiles. Using the BoardConfig.mk as shown in the example didn't work.
This works on my local machine: https://treeherder.mozilla.org/#/jobs?repo=try&revision=d009edfcd6bf
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → All
(In reply to Thomas Zimmermann [:tzimmermann] [:tdz] from comment #2) > This works on my local machine: > > https://treeherder.mozilla.org/#/jobs?repo=try&revision=d009edfcd6bf Awesome :D
The try session for this patch is at https://treeherder.mozilla.org/#/jobs?repo=try&revision=d009edfcd6bf
Assignee: nobody → tzimmermann
Status: NEW → ASSIGNED
Attachment #8555105 - Flags: review?(mwu)
The same patch for JB.
Attachment #8555106 - Flags: review?(mwu)
The same patch for KK.
Attachment #8555109 - Flags: review?(mwu)
Michael, Please take a look at the attached pull requests. Thanks!
Thank you so much! This will hopefully make the emulator more reliable.
Master: https://github.com/mozilla-b2g/platform_build/commit/6295c4eb38de793159368aa7f745ef3faf7208aa b2g-4.3_r2.1: https://github.com/mozilla-b2g/platform_build/commit/ac778ae59be38aea284a04c89640b1a11c26a5de b2g-4.4.2_r1: https://github.com/mozilla-b2g/platform_build/commit/f47964c89a9c34d9a2e77afa3608d9ec604c3d20
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.2 S6 (20feb)
You need to log in before you can comment on or make changes to this bug.