Merge lp:~canonical-ci-engineering/ubuntu-test-cases/testing-docs into lp:ubuntu-test-cases/touch
| Status: | Merged |
|---|---|
| Approved by: | Francis Ginther on 2015-03-03 |
| Approved revision: | 378 |
| Merged at revision: | 376 |
| Proposed branch: | lp:~canonical-ci-engineering/ubuntu-test-cases/testing-docs |
| Merge into: | lp:ubuntu-test-cases/touch |
| Diff against target: |
120 lines (+84/-1) 1 file modified
README-cli.rst (+84/-1) |
| To merge this branch: | bzr merge lp:~canonical-ci-engineering/ubuntu-test-cases/testing-docs |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Francis Ginther | Approve on 2015-03-03 | ||
| Paul Larson | Approve on 2015-03-03 | ||
| Thomi Richards (community) | 2015-03-02 | Approve on 2015-03-03 | |
|
Review via email:
|
|||
This proposal supersedes a proposal from 2015-03-02.
Commit Message
Add README documentation for developer centric testing of a modified debian or click application.
Description of the Change
Add README documentation for developer centric testing of a modified debian or click application.
| Francis Ginther (fginther) wrote : | # |
| Paul Larson (pwlars) wrote : | # |
is pkcon preferred over click install?
| Francis Ginther (fginther) wrote : | # |
> is pkcon preferred over click install?
I've been unable to find info in any of the wiki's but the 'click' command provides this:
"
phablet@
Usage: click install [options] PACKAGE-FILE
This is a low-level tool; to install a package as an ordinary user
you should generally use "pkcon install-local PACKAGE-FILE"
instead.
"
Will keep looking.
| Colin Watson (cjwatson) wrote : | # |
The click documentation should be considered authoritative on this.
- 377. By Francis Ginther on 2015-03-02
-
A couple of minor corrections and updates.
| Francis Ginther (fginther) wrote : | # |
> Found a typo
plars fixed this in rev 377.
- 378. By Paul Larson on 2015-03-03
-
Add a section on running tests for a modified debian package
| Paul Larson (pwlars) wrote : | # |
This now has the debian package testing instructions merged, and I think that's all we were intending to add. So there was something else, I'm +1 to go ahead and merge this in.

I've also been playing with a modified version oh phablet- click-test- setup (from phablet-tools) which takes care of installation of the test sources and would allow removing the following:
33 +The above phablet- click-test- setup command will install the standard test autopilot/ dropping_ letters_ app letters/ tests/autopilot \ autopilot
34 +dependencies and the click application's test sources as specified in the
35 +manifest. This is usually the application's trunk branch. To override the test
36 +sources with local changes, replace the test sources that were copied to the
37 +device. This example assumes the application code is checked out under the
38 +'dropping-letters' directory with the test sources under 'tests/autopilot'::
39 +
40 + adb shell rm -rf /home/phablet/
41 + adb push dropping-
42 + /home/phablet/