lp:ubuntu/saucy/autopkgtest

Created by Ubuntu Package Importer and last modified
Get this branch:
bzr branch lp:ubuntu/saucy/autopkgtest
Members of Ubuntu branches can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Ubuntu branches
Status:
Mature

Recent revisions

54. By Martin Pitt

* tests/adt-run: Factorize a base test class with common functionality.
* lib/VirtSubproc.py, downtmp_mktemp(): Create temporary directory in the
  target (which isn't the host for anything but the null runner), to fix the
  schroot/chroot runners for directories.
* Only show stdout/stderr in realtime if tests run in the same file system
  as the host, as otherwise we cannot create/use a named pipe. If not, fall
  back to the old way of just showing the complete stdout/stderr after the
  tests finished. (LP: #1235189)
* Add some test cases for adt-virt-chroot.
* Add new --timeout-copy option to make copy timeout configurable. Pass that
  down to adt-virt-* via the environment ($ADT_VIRT_COPY_TIMEOUT).
  (LP: #1200693)
* Fix tests to also work with Python 3.1.
* tests/testpkg: Go back to compat level 7 so that this also works on older
  Debian/Ubuntu releases.

53. By Martin Pitt

* Always kill the tee children after a test finishes, to avoid race
  condition when they get stuck in a read() call which doesn't return with
  "no data".
* Fix pyflakes failure on older Debian/Ubuntu releases.
* Fix PEP-8 errors.

52. By Martin Pitt

* Don't show source_rules_command() "set -x" trace unless running with -d.
* Kill the tee child process if the testbed bombs out (e. g. due to a
  timeout), to avoid hanging eternally. Add test case for --timeout-test
  handling.
* Add test case for --summary option.

51. By Martin Pitt

* Add tests/testpkg/: Simple source package for testing autopkgtest.
* Add tests/adt-run: Automatic regression tests for adt-run, covering/using
  the null runner.
* Add debian/tests: autopkgtest for autopkgtest, using tests/adt-run.
* Make topmost temporary directory group/world-readable and make $ADTTMP
  have appropriate 1777 permissions so that users other than root can
  actually use it. (Closes: #722458)
* Don't clip first stderr line to 35 characters in summary. (Side issue in
  #722457)
* Don't show shell tracing of script that creates the temporary directories.
* Move unimportant messages to debug level 1, to not clutter up default
  output so much.
* Drop unnecessary "trace: " from adt-run debug/progress lines.
* Show stdout/err of the running tests in realtime, which is much nicer for
  watching. Don't split that realtime output, so that stderr messages appear
  in the right context. Show separate stderr if and only if the allow-stderr
  restriction is not set and there is stderr output. (Closes: #722457)
* For tests with "build-needed", actually run the tests in the built
  directory, not in the original unbuilt tree. (Closes: #711209)
* Fix various unknown and unused symbols throughout the source, spotted by
  pyflakes.
* Add tests/pyflakes: Run pyflakes over source and test code.
* Add tests/pep8: Run pep8 over source and test code.
* Support empty "Depends:" test control field, installing no dependencies in
  that case.
* README.package-tests: Point out that you can use upper-case test names as
  well. Update test_tree_tmp_dir() test to use these, to ensure it stays
  working. (Closes: #711844)
* Some code cleanups:
  - Don't rename modules on import.
  - Format to be PEP-8 compliant.
  - Rename first argument of methods to "self", as that's the wide
    convention, gets rid of some single-letter variable names, and makes it
    a bit easier to see which variables refer to foreign objects.
* Run tests/pep8 and tests/pyflakes during package build.

50. By Martin Pitt

* runner/adt-run: Drop "errors" keyword from decode() call to fix
  compatibility with earlier Python versions. Thanks Christoph Berg.
* adt-run: Fail tests if they exit with nonzero if "allow-stderr"
  restriction is set. Thanks Robie Basak! (LP: #1210503)

49. By Martin Pitt

runner/adt-run: Fix "allow-stderr" restrictions to still report success,
so that this gets into the summary.log.

48. By Martin Pitt

* runner/adt-run.1: Fix bad "affect modify" wording. (LP: #1199500)
* Drop hosts/chinstrap. We haven't actually used this in many years, it has
  been replaced with https://launchpad.net/auto-package-testing, Jenkins,
  and blocking migration to release until tests pass. (LP: #381210)
* Promote apt-utils from Recommends to Depends:, to avoid test failures due
  to not finding apt-ftparchive. (LP: #1065874)
* Promote pbuilder from Recommends: to Depends:, as we always call
  pbuilder-satisfydepends-classic. (LP: #1065874)
* runner/adt-run: Stop explicitly checking for $HOME (with broken error
  message) when giving --gnupg-home, use os.path.expanduser() instead.
  (LP: #1065873)
* runner/adt-run: Fix timeout --help output.
* runner/adt-run: Fix bomb() to clean up the testbed before removing it.
  Afterwards (in cleanup()) we don't have a testbed object any more to run
  commands in. (LP: #1157292)
* runner/adt-run: Fix UnicodeDecodeError crash if stderr contains non-ASCII
  characters. (LP: #1100283)
* Add "allow-stderr" restriction for tests where re-routing or disabling
  stderr is impractical. (LP: #1197005)
* runner-adt-run: Support architecture specifiers in Depends: field.
  (LP: #1165128)
* runner/adt-run: Remove/fix some unused variables, spotted by pyflakes.

47. By Martin Pitt

[ Jean-Baptiste Lallement ]
Fix call to atmostone(), so that Tests-Directory: actually works.

46. By Martin Pitt

[Jean-Baptiste Lallement]
* Fix failure with "permission denied" with option --user. Closes: #686292,
  LP: #1084116
* Use debian.deb822 Python module to parse control files. This fixes parsing
  of folded dependencies. Closes: #695797, LP: #1073856
* Support versioned dependencies in debian/tests/control.
  Closes: #693540, LP: #1164362

[ Martin Pitt ]
* Add myself as a co-maintainer, as per mailing list discussion.
* Add machine-readable debian/copyright as per current 1.0 standard. Remove
  dynamic creation of debian/copyright from debian/rules.
* Move from deprecated dh compat level 4 to 8 (supported in squeeze).
* debian/rules: Use dh_installdocs to install copyright file instead of
  custom shell code.
* debian/control: Add missing ${misc:Depends}.
* Bump Standards-Version to 3.9.4.

45. By Jean-Baptiste Lallement

Allow '|' in test dependencies. (LP: #1182433)

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:ubuntu/trusty/autopkgtest
This branch contains Public information 
Everyone can see this information.

Subscribers