Merge lp:~fginther/ubuntu-test-cases/remove-source-package into lp:ubuntu-test-cases/touch
Status: | Merged |
---|---|
Approved by: | Francis Ginther |
Approved revision: | 399 |
Merged at revision: | 401 |
Proposed branch: | lp:~fginther/ubuntu-test-cases/remove-source-package |
Merge into: | lp:ubuntu-test-cases/touch |
Diff against target: |
128 lines (+18/-32) 5 files modified
scripts/boottest.sh (+12/-23) tests/getinstalledpkgs/debian/changelog (+1/-1) tests/getinstalledpkgs/debian/control (+2/-2) tests/getinstalledpkgs/debian/tests/control (+2/-2) tests/getinstalledpkgs/debian/tests/getinstalledpkgs.template (+1/-4) |
To merge this branch: | bzr merge lp:~fginther/ubuntu-test-cases/remove-source-package |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paul Larson | Approve | ||
Evan | Pending | ||
Review via email: mp+260854@code.launchpad.net |
This proposal supersedes a proposal from 2015-05-29.
Description of the change
I'm hijacking laney's MP as another change was identified through testing (this was to remove the need for the boottest.py wrapper to have the package source).
oxide-qt's boottest fails. psivaa says this is because getpkgsrc can't download the source package due to the device not having enough space.
Looking at the test script it seems as if the whole orig isn't needed - you only want the debian/ part to run the tests, and in "getpkgsrc" itself (outputs the binary packages from a source that are already installed) you can get the necessary information from apt's database directly without needing any part of the source.
We can refactor both parts
- Make getpkgsrc use grep-aptavail from dctrl-tools to do the source to binary mapping. Then it isn't getting the source any more, so I rename it to getinstalledpkgs.
- The boottest.py wrapper does not need the source package at all, it just needs to inject the list of to-install-binary packages generated by getinstalledpkgs into the boottest dep8 control file
Tested with oxide-qt here:
- http://
I'm not convinced --diff-only will work here.