Changelog
autopkgtest (2.7.1) unstable; urgency=medium
* VirtSubproc.py, command(): Intercept/retry on EAGAIN.
* runner/adt-run: Robustify cleanup of empty "binaries" output directory, it
does not always work in __del__().
* adt-run: Replace direct invocation of "debian/rules build" with
"dpkg-buildpackage -us -uc -b". dpkg-buildpackage is the de-facto
interface these days (also on the buildds), and does additional things now
such as passing build flags or cleaning the package. This also implies
dpkg-source --before build to apply patches, so remove the explicit call
to that again. (Closes: #737632)
* adt-run: If all tests get skipped, but there are some tests, don't claim
that there are none. (Closes: #737242)
* adt-run: When expanding @builddeps@, add "make" as test almost always need
it to call "make installcheck" or similar.
* Print package version as first adt-run message ("@devel@" when running out
of source tree).
* Turn VirtSubproc.Timeout into a proper exception class (RuntimeError).
* Make VirtSubproc.bomb() useful outside the mainloop, so that we can
use it in utility functions that are used outside of runners.
* VirtSubproc: Add a "timeout" context manager which plumbs timeout_start(),
timeout_end() and bomb() (if an exit message is given) or a Timeout
exception (otherwise) together in the right way, for convenience.
-- Martin Pitt <email address hidden> Fri, 07 Feb 2014 14:52:42 +0100