phablet-test-run does not respect device locale

Bug #1392815 reported by Kyle Nitzsche
8
This bug affects 1 person
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[it]=Foto di Facebook

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.10.20141010-0ubuntu1

Tags: patch tracking
Revision history for this message
Kyle Nitzsche (knitzsche) wrote :
Oliver Grawert (ogra)
Changed in phablet-tools (Ubuntu):
assignee: nobody → Oliver Grawert (ogra)
Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

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.

Changed in savilerow:
importance: Undecided → High
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "phablet-test-run" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote :

@penk can you please comment on priority ?

Changed in savilerow:
assignee: nobody → Penk Chen (penk)
Changed in savilerow:
assignee: Penk Chen (penk) → nobody
status: New → Triaged
importance: High → Medium
tags: added: tracking
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.