Add functionality to filter test results by package
Specifying the --package command line option has filtered the list of
triggers for a PPA, but previously it did not filter the test results.
For PPAs involving a variety of packages this can produce an excessive
listing.
This commit expands support for --package to apply not only to results
as well, but also the running and waiting lists.
io: Quell error messages for non-existing results and jobs
Suppress the "Could not retrieve data..." error messages printed by `ppa
tests`. To locate results, the command is scanning expected URLs, and
their absence simply means they're not available yet.
ppa: Locally define EX_NOTFOUND which is not present on all *nix
Added in commit 7efb2333, os.EX_NOTFOUND is mentioned in the Python
documentation but is not actually available in the Modules/posixmodule.c
included on Linux and OS X. (https://bugs.python.org/issue9933)
Instead, provide a local definition of it, as is already done for
EX_KEYBOARD_INTERRUPT.