Closed
Bug 749771
Opened 13 years ago
Closed 13 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•13 years ago
|
||
Assignee | ||
Updated•13 years ago
|
Attachment #619166 -
Flags: review?(jmaher)
Comment 2•13 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•13 years ago
|
Keywords: checkin-needed
Comment 3•13 years ago
|
||
Comment 4•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•