Merge lp:~barry/ubuntu-ota-tests/packaging into lp:ubuntu-ota-tests
| Status: | Merged |
|---|---|
| Approved by: | Leo Arias on 2015-03-19 |
| Approved revision: | 21 |
| Merged at revision: | 12 |
| Proposed branch: | lp:~barry/ubuntu-ota-tests/packaging |
| Merge into: | lp:ubuntu-ota-tests |
| Diff against target: |
225 lines (+90/-11) 11 files modified
.bzrignore (+2/-0) README.rst (+1/-1) debian/changelog (+1/-1) debian/compat (+1/-0) debian/control (+23/-0) debian/rules (+11/-0) debian/tests/control (+3/-3) debian/tests/ota-selftests (+0/-2) setup.py (+30/-0) ubuntu_ota_tests/hooks.py (+13/-3) ubuntu_ota_tests/reactors.py (+5/-1) |
| To merge this branch: | bzr merge lp:~barry/ubuntu-ota-tests/packaging |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| PS Jenkins bot | continuous-integration | Approve on 2015-03-19 | |
| Christopher Lee (community) | 2015-03-18 | Approve on 2015-03-19 | |
| Leo Arias (community) | 2015-03-18 | Approve on 2015-03-18 | |
|
Review via email:
|
|||
Commit Message
Packaged ubuntu-ota-tests.
Description of the Change
This refactors the test support code into a normal Debian native package, so that it can be depended on and re-used by other packages.
Note that currently there's a dependency on python3-autopilot, which pulls in a ton of stuff, but I think we talked about getting rid of that dependency. I'll leave that for another branch.
This also adds some code so that it should work with either system-image 2.5 or 3.0. When the latter lands in vivid, we should remove or deprecate the 2.5 support.
| Leo Arias (elopio) wrote : | # |
| Barry Warsaw (barry) wrote : | # |
Fixed! Thanks.
| Barry Warsaw (barry) wrote : | # |
Oops, conflicts with trunk. I'll fix those.
| Christopher Lee (veebers) wrote : | # |
I think the readme should say '-B --unbuilt-tree=.' without the -B the build on the device fails for me if the archives are out of date (i.e. need to apt-get update on the device).
Other than that this is looking good. If my complaint above can be addressed (either by clarifying and it stays that way or it changes) then this is an approve from me.
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Autolanding.
No commit message was specified in the merge proposal. Hit 'Add commit message' on the merge proposal web page or follow the link below. You can approve the merge proposal yourself to rerun.
https:/

This is great. We just need to remove the cd debian/tests from the tests, and then we will be able to run the tests with -B --unbuilt-tree.
After fixing that, consider this my approval.
Thanks barry.