Merge lp:~townsend/autopilot/fix-gcalctool-desktop-file into lp:autopilot/legacy
| Status: | Merged |
|---|---|
| Approved by: | Christopher Lee on 2015-05-06 |
| Approved revision: | 496 |
| Merged at revision: | 496 |
| Proposed branch: | lp:~townsend/autopilot/fix-gcalctool-desktop-file |
| Merge into: | lp:autopilot/legacy |
| Diff against target: |
12 lines (+1/-1) 1 file modified
autopilot/process/__init__.py (+1/-1) |
| To merge this branch: | bzr merge lp:~townsend/autopilot/fix-gcalctool-desktop-file |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Christopher Lee (community) | 2015-04-17 | Approve on 2015-05-06 | |
| PS Jenkins bot | continuous-integration | Needs Fixing on 2015-04-17 | |
|
Review via email:
|
|||
Commit Message
Account for the renaming of gcalctool.desktop to gnome-calculato
| Christopher Lee (veebers) wrote : | # |
Not sure if you want a review from me but I'll comment anyway :-) This looks fine to me.
This isn't the first time something like this has happened (renamed .desktop files) I wonder (out loud) if it is worth changing this so that it is programatically populated at run time and checks the existence of a couple of known .desktop files and uses the correct one.
Although, this happens infrequently enough that I'm not sure it's worth doing that work.
| Christopher Townsend (townsend) wrote : | # |
Hey Chris,
Thanks for the review. I'll take a review from anyone who can actually get this merged:)
| Leo Arias (elopio) wrote : | # |
@veebers, what I'm not sure is that we need to support this. We have hardcoded ways to launch about 5 applications. That's weird. I don't understand why would we like to make it easier to launch those apps. Without the hardcoded values, it's still pretty easy to launch them.
What I would do is to depracate this functionality.
@townsend, can you please tell me why do you need this update? Are you launching the calculator in one of your tests?
| Christopher Townsend (townsend) wrote : | # |
@elopio
Yes, many of the Unity 7 Autopilot tests launch the calculator app and without this change, those tests fail due to Autopiplot not finding the correct .desktop file since it was renamed.
| Christopher Townsend (townsend) wrote : | # |
Any chance this can get approved, merged, and landed in the archive? Or some other method of choice that fixes this failure?
Thanks!
| Christopher Lee (veebers) wrote : | # |
In the past it has been the Unity7 team responsible for approving the legacy branch. I go ahead and top approve it now. Sorry for any confusion.

FAILED: Continuous integration, rev:496 jenkins. qa.ubuntu. com/job/ autopilot- autopilot- legacy- ci/16/ jenkins. qa.ubuntu. com/job/ autopilot- autopilot- legacy- utopic- amd64-ci/ 16 jenkins. qa.ubuntu. com/job/ autopilot- autopilot- legacy- utopic- amd64-ci/ 16/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ autopilot- autopilot- legacy- utopic- armhf-ci/ 16 jenkins. qa.ubuntu. com/job/ autopilot- autopilot- legacy- utopic- armhf-ci/ 16/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ autopilot- autopilot- legacy- utopic- i386-ci/ 16 jenkins. qa.ubuntu. com/job/ autopilot- autopilot- legacy- utopic- i386-ci/ 16/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ generic- mediumtests- utopic- autopilot/ 393 jenkins. qa.ubuntu. com/job/ autopilot- testrunner- otto-utopic- autopilot/ 413 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- utopic- amd64/4704 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- utopic- amd64/4704/ artifact/ work/output/ *zip*/output. zip
http://
Executed test runs:
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/autopilot- autopilot- legacy- ci/16/rebuild
http://