Closed
Bug 749771
Opened 12 years ago
Closed 12 years ago
some xpcshell tests fail on Android because HOME environment variable is not set
Categories
(Testing :: XPCShell Harness, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla15
People
(Reporter: gbrown, Assigned: gbrown)
References
Details
Attachments
(1 file)
1.21 KB,
patch
|
jmaher
:
review+
|
Details | Diff | Splinter Review |
Some xpcshell tests - like netwerk/test/unit/test_NetUtil.js - fail if xpcshell does not have a HOME environment variable. $HOME is almost universally available in Unix environments...but isn't set by default in many Android environments. Fennec gets around this problem by setting $HOME itself: https://hg.mozilla.org/mozilla-central/annotate/0f8ea3826bf7/mobile/android/base/GeckoAppShell.java#l374.
Assignee | ||
Comment 1•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Attachment #619166 -
Flags: review?(jmaher)
Comment 2•12 years ago
|
||
Comment on attachment 619166 [details] [diff] [review] set xpcshell's $HOME to the profile directory Review of attachment 619166 [details] [diff] [review]: ----------------------------------------------------------------- nice and simple
Attachment #619166 -
Flags: review?(jmaher) → review+
Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 4•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/da6edf93df07
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•