Closed
Bug 468823
Opened 16 years ago
Closed 16 years ago
Unittests should be run with DISPLAY=:2 on linux
Categories
(Release Engineering :: General, defect, P2)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: catlee, Assigned: catlee)
References
Details
Attachments
(1 file, 1 obsolete file)
1.03 KB,
patch
|
bhearsum
:
review+
bhearsum
:
checked-in+
|
Details | Diff | Splinter Review |
Unittests often fail on linux if buildbot isn't started with DISPLAY=:2 The attached patch puts this in the environment so that buildbot can be started via ssh. Bonus points: make sure Xvfb and metacity are running
Attachment #352304 -
Flags: review?(bhearsum)
Comment 1•16 years ago
|
||
Comment on attachment 352304 [details] [diff] [review] set DISPLAY=:2 in env.py Why didn't we do this sooner? :)
Attachment #352304 -
Flags: review?(bhearsum) → review+
Updated•16 years ago
|
Assignee: nobody → catlee
Assignee | ||
Updated•16 years ago
|
Priority: -- → P2
Assignee | ||
Comment 2•16 years ago
|
||
Assignee | ||
Comment 3•16 years ago
|
||
(In reply to comment #2) > Created an attachment (id=352370) [details] > check for Xvfb and metacity before running Well, that didn't work at all :P The following crontab entries seem to do the trick: # Make sure Xvfb is running on :2 */5 * * * * ps -C Xvfb | grep -q Xvfb || exec Xvfb :2 -screen 0 1280x1024x24 & # Make sure metacity is running on :2 */5 * * * * ps -C metacity -f | grep -q :2 || exec metacity --display :2 --replace &
Assignee | ||
Updated•16 years ago
|
Attachment #352370 -
Attachment is obsolete: true
Updated•16 years ago
|
Attachment #352304 -
Flags: checked‑in+
Comment 4•16 years ago
|
||
Comment on attachment 352304 [details] [diff] [review] set DISPLAY=:2 in env.py Checking in env.py; /cvsroot/mozilla/tools/buildbotcustom/env.py,v <-- env.py new revision: 1.10; previous revision: 1.9 done
Assignee | ||
Updated•16 years ago
|
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•