ubuntu-app-test does not exit with same exit code of child process
Bug #1431565 reported by
dobey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-app-launch (Ubuntu) |
Fix Released
|
Critical
|
dobey |
Bug Description
When using ubuntu-app-test to launch an application to be controlled by autopilot under Mir, the tool does not exit with the same exit code of the child process being launched through ubuntu-app-test.
For the pay-ui app, we rely on its exit code to know if the purchase was cancelled or not. In order to be able to test for this condition, we must be able to verify the exit code is correct under certain conditions, in our autopilot tests of pay-ui. As we require ubuntu-app-test to be able to run the app under Mir on the phone, we must also be able to verify that exit code when run with ubuntu-app-test.
Related branches
lp:~dobey/ubuntu-app-launch/test-exit-code
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- Alejandro J. Cura (community): Approve
- Charles Kerr (community): Approve
-
Diff: 20 lines (+3/-2)1 file modifiedubuntu-app-test/src/ubuntu-app-test.c (+3/-2)
Changed in ubuntu-app-launch (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Critical |
assignee: | nobody → Rodney Dawes (dobey) |
To post a comment you must log in.
This bug was fixed in the package ubuntu-app-launch - 0.4+15. 04.20150313. 2-0ubuntu1
--------------- 04.20150313. 2-0ubuntu1) vivid; urgency=medium
ubuntu-app-launch (0.4+15.
[ CI Train Bot ]
* New rebuild forced.
[ Rodney Dawes ]
* Save status from waitpid and exit with it. (LP: #1431565)
-- CI Train Bot <email address hidden> Fri, 13 Mar 2015 16:05:56 +0000