Autopilot tests use temporary directories

Bug #1381273 reported by Leo Arias
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gallery-app
Fix Released
Undecided
Leo Arias

Bug Description

Some autopilot tests are placing files into a temporary directory to be used by the apps.

We have found that this is a bad solution for the problem. It makes the set up code too complex and it needs to be updated every time somebody makes changes on the way the application consumes its data files. We end up with an unclear patched set up that not always works and makes the failures harder to diagnose.

Form now on, we have decided that the tests must assume that they are run in a clean environment. Tests must just place the files in a $HOME subdirectory.

Bug #1376423 was reported to get an easy way to get a clean environment to run the tests in the dev machine, phone or emulator. If a clean environment requires a temporary directory, the fix for that bug will set the right value to HOME.

Related branches

Leo Arias (elopio)
Changed in gallery-app:
status: New → In Progress
assignee: nobody → Leo Arias (elopio)
Revision history for this message
Sebastien Bacher (seb128) wrote :

the code change there as been merge, closing the bug

Changed in gallery-app:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

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