Improvements:
* Add --copy option to copy a file or directory into the testbed.
* Support specifying a click name like "com.example.myapp" with --click to
test an already installed click instead of a local *.click file.
(LP: #1338899)
* Introduce "autopilot_module" click test control field for specifying an
autopilot test module name. This allows tests to require additional test
dependencies, restrictions, etc. without having to specify the full
invocation of autopilot. (LP: #1338911)
* In "unpack into temp dir" mode, ignore Python 2.x test dependencies. They
are not exposed anyway as with $PYTHONPATH we can only serve one major
Python version, and we want Python 3.
* Port remaining runners from obsolete optparse to modern argparse. This
gives a consistent command line help and support for reading options from
a file with '@'.
* Port adt-run to argparse, and clean up the CLI:
- Drop rarely used and confusing options: --instantiate, --sources-tests,
--sources-no-tests, --built-binaries-filter,
--binaries{,-forbuilds,-fortests}. Add a single new --built-binaries as
the opposite of -B/--no-built-binaries.
- CLI parsing is now done in lib/adt_run_args.py, with separate unit
tests.
- This now allows any part of the command line (for adt-run itself or the
virt-server or both) to be read from a file, using the '@' prefix.
(Closes: #749241)
- Separate the options into different logical groups, in both --help and
the manpage.
* Make --override-control work for click manifests. (LP: #1342818)
* Introduce "Test-Command:" debian/tests/control field to run a shell
command instead of a "Tests" named executable. This avoids having to write
trivial one-liner scripts or allows wrapping calls to test executables.
(Closes: #741330)
Bug fixes:
* Set $USER environment variable also for tests that run as root.
(LP: #1337802)
* Add lintian override for ssh-setup/SKELETON, it's deliberately not
executable.
* Increase timeout for aa-clickhook workaround for LP#1337253, 100s is often
not enough.
* ssh-setup/adb: Disabling the first-time wizards sometimes fails due to adb
being brittle at that time. Retry up to 5 times.
* Optimize aa-clickhook workaround for LP #1337253 to only rebuild the
profile of the installed click app. This reduces the time from about a
minute to about a second.
* qemu, lxc: Use VirtSubproc subprocess wrappers to get timeout handling for
all commands.
* Rewrite build depends to not rely on builders being able to fall back to
alternatives (python >= 3.3 | python3-mock), to ease backporting.
* tests/pyflakes: Use pyflakes3.
* Only run pyflakes test during package build if pyflakes3 is available.
This unbreaks backports.
* Run "click info" as the same user as the test. (LP: #1342836)
* Keep <testname>-stderr output files for "allow-stderr" tests.
This bug was fixed in the package autopkgtest - 3.2
---------------
autopkgtest (3.2) unstable; urgency=medium
Improvements: no-tests, --built- binaries- filter, ,-forbuilds, -fortests} . Add a single new --built-binaries as built-binaries. run_args. py, with separate unit tests/control field to run a shell
* Add --copy option to copy a file or directory into the testbed.
* Support specifying a click name like "com.example.myapp" with --click to
test an already installed click instead of a local *.click file.
(LP: #1338899)
* Introduce "autopilot_module" click test control field for specifying an
autopilot test module name. This allows tests to require additional test
dependencies, restrictions, etc. without having to specify the full
invocation of autopilot. (LP: #1338911)
* In "unpack into temp dir" mode, ignore Python 2.x test dependencies. They
are not exposed anyway as with $PYTHONPATH we can only serve one major
Python version, and we want Python 3.
* Port remaining runners from obsolete optparse to modern argparse. This
gives a consistent command line help and support for reading options from
a file with '@'.
* Port adt-run to argparse, and clean up the CLI:
- Drop rarely used and confusing options: --instantiate, --sources-tests,
--sources-
--binaries{
the opposite of -B/--no-
- CLI parsing is now done in lib/adt_
tests.
- This now allows any part of the command line (for adt-run itself or the
virt-server or both) to be read from a file, using the '@' prefix.
(Closes: #749241)
- Separate the options into different logical groups, in both --help and
the manpage.
* Make --override-control work for click manifests. (LP: #1342818)
* Introduce "Test-Command:" debian/
command instead of a "Tests" named executable. This avoids having to write
trivial one-liner scripts or allows wrapping calls to test executables.
(Closes: #741330)
Bug fixes:
* Set $USER environment variable also for tests that run as root.
(LP: #1337802)
* Add lintian override for ssh-setup/SKELETON, it's deliberately not
executable.
* Increase timeout for aa-clickhook workaround for LP#1337253, 100s is often
not enough.
* ssh-setup/adb: Disabling the first-time wizards sometimes fails due to adb
being brittle at that time. Retry up to 5 times.
* Optimize aa-clickhook workaround for LP #1337253 to only rebuild the
profile of the installed click app. This reduces the time from about a
minute to about a second.
* qemu, lxc: Use VirtSubproc subprocess wrappers to get timeout handling for
all commands.
* Rewrite build depends to not rely on builders being able to fall back to
alternatives (python >= 3.3 | python3-mock), to ease backporting.
* tests/pyflakes: Use pyflakes3.
* Only run pyflakes test during package build if pyflakes3 is available.
This unbreaks backports.
* Run "click info" as the same user as the test. (LP: #1342836)
* Keep <testname>-stderr output files for "allow-stderr" tests.
-- Martin Pitt <email address hidden> Mon, 21 Jul 2014 09:35:17 +0200