Merge ppa-dev-tools:command-tests into ppa-dev-tools:main
Status: | Merged |
---|---|
Merge reported by: | Bryce Harrington |
Merged at revision: | 8abb18213477cb686676621a204a83a436235c57 |
Proposed branch: | ppa-dev-tools:command-tests |
Merge into: | ppa-dev-tools:main |
Diff against target: |
268 lines (+164/-8) 7 files modified
AUTHORS.md (+1/-0) ppa/constants.py (+20/-0) ppa/io.py (+33/-0) ppa/job.py (+31/-5) ppa/ppa.py (+3/-3) scripts/ppa (+44/-0) tests/test_io.py (+32/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Athos Ribeiro (community) | Approve | ||
Canonical Server Reporter | Pending | ||
Review via email: mp+428951@code.staging.launchpad.net |
Description of the change
Adds the command 'ppa tests' which for now just reports the running and waiting tests. (Later, Results will be added as well.)
Since running and waiting info is only available while a PPA's tests are in process, to check the functionality you'll need to queue up some fresh tests for your favorite PPA; e.g.:
$ lp-test-ppa ppa:bryce/
Trigger several, then wait a few minutes and they should start appearing in output:
$ ./scripts/ppa tests ppa:bryce/
Running:
time pkg release arch ppa trigger
10 dovecot kinetic armhf bryce/dovecot-
120 dovecot kinetic armhf bryce/dovecot-
270 dovecot kinetic amd64 bryce/dovecot-
30 dovecot kinetic arm64 bryce/dovecot-
30 dovecot kinetic ppc64el bryce/dovecot-
Waiting:
Q-num pkg release arch ppa trigger
1 dovecot kinetic s390x bryce/dovecot-
1 dovecot kinetic armhf bryce/dovecot-
1 dovecot kinetic amd64 bryce/dovecot-
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
LGTM! Thanks, Bryce.
I included a couple inline nitpicks. As usual, feel free to ignore some or all of them. This looks good as is :)