phablet-test-run does not respect device locale
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Savilerow project |
Triaged
|
Medium
|
Unassigned | ||
phablet-tools (Ubuntu) |
New
|
Undecided
|
Oliver Grawert |
Bug Description
We are running autopilot tests that verify the run time value of a scope's DisplayName is the same as the inline translation in the scope ini card.
That is, if we known the scope ini card has this:
DisplayName[
And the device is in Italian locale.
We want our autopilot test to find the runtime value (Foto di Facebook) is the same as the scope ini card's it value (Foto di Facebook).
However, phablet-test-run fails to launch autopilot tests with locale environment vars of the device. The runtime value is based on the "C" locale, not the device's actual locale. So our tests fail.
This is a generic problem that will affect locale related tests for any device whose default is not 'en' or 'C'.
I'm attaching a modified version of phablet-test-run that addresses the problem.
$ apt-cache policy phablet-tools
phablet-tools:
Installed: 1.1+14.
Changed in phablet-tools (Ubuntu): | |
assignee: | nobody → Oliver Grawert (ogra) |
Changed in savilerow: | |
assignee: | Penk Chen (penk) → nobody |
status: | New → Triaged |
importance: | High → Medium |
tags: | added: tracking |
I added also affects savilerow as High because when we start producing images that are not in English by default our autopilot tests will fail when run with phablet-test-run.