59
|
|
|
Martin Pitt |
2.5.2 |
10 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
58
|
|
|
Martin Pitt |
2.5.1 |
10 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
57
|
|
Behaviour changes: * Drop --output-dir option. It has never really been useful as it only works for paths in the testbed, has a confusing semantics, is redundant with --tmp-dir, and currently even crashes adt-run. (Closes: #729790) * Rename --tmp-dir option to --output-dir, as its main purpose is really to collect test artifacts. Keep --tmp-dir alias for backwards compatibility. * Drop --override-control option. It complicates the code too much for its very limited utility, and it was not even documented in the manpage. * Drop --paths-testbed (and thus also --paths-host) options. There is no use case for them. * Add short options for common command line options: -B for --no-built-binaries, -o for --output-dir, -l for --log-file, -u for --user. * Clean up uninteresting files from --output-dir directory. * Tests which want to create additional artifacts can now put them into the $ADT_ARTIFACTS directory. When using the --output-dir option, they will be copied into <outputdir>/artifacts/. Document this new feature in README.package-tests. (LP: #1137763)
Packaging changes: * Drop obsolete autodebtest Conflicts/Replaces. * Update copyright years. * Bump Standards-Version to 3.9.5. No changes necessary. * CREDITS: Add myself. * Makefile: Support $DESTDIR, like automake. * Adjust sharedir* defaults in settings.make to what we actually want, and drop their overrides in debian/rules * Move debian/rules to using dh. * Add ./run-from-checkout script to run adt-run from the git checkout or source package. Change tests/adt-run to use it. * Add tests/run-parallel to run tests for different runners in parallel.
Bug fixes: * Fix OSError crash if --output-dir/--tmp-dir does not exist. (Closes: #729791) * Pass line number to Test constructor argument, to be able to report proper errors instead of crashing. (side issue in #698551) * Fix exit code for "Unsupported" error. * When encountering an unsupported test, report only this test as skipped, not all the others in the same "Tests:" stanza. * README.package-tests: Test names must not contain '/'. (Closes: #698551) * Create manpage for adt-virt-schroot. (first half of #695974) * Fix "su: must be run from a terminal" failure when running as user and testbed doesn't provide root-on-testbed. (Closes: #648148) * Add bandaid to avoid mixing order of stdout and stderr in the log file when reporting results.
Code cleanup: * Simplify logging by dropping the explicit functions for writing to stderr plus log, and instead set up pipes so that the whole stdout/stderr will be tee'd into the logfile. * Replace the usage of the AutoFile classes (which are underdocumented, magic, and hard to understand) with a more explicit and much simpler TestbedPath class. * Stop installing the redundant /etc/apt/apt.conf.d/90autopkgtest into testbeds, and simplify invocation of apt-get.
New test cases: * Access /dev/std{out,err} in a non-root test, like the "mafft" autopkgtest does. * --log-file test cases for chroot and schroot runners. * schroot and LXC runner test cases for installing built binaries. * --output-dir in schroot runner with complete package build. * Recommends do not get installed by default. * Test case with '/' in the name. * --user option for schroot and null runners. * breaks-testbed restriction for all runners.
|
Martin Pitt |
2.5 |
10 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
56
|
|
|
Martin Pitt |
2.4 |
10 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
55
|
|
|
Martin Pitt |
2.3.8 |
10 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
54
|
|
|
Martin Pitt |
2.3.7 |
10 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
53
|
|
|
Martin Pitt |
2.3.6 |
10 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
52
|
|
|
Martin Pitt |
2.3.5 |
10 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
51
|
|
* 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.
|
Martin Pitt |
2.3.4 |
10 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
50
|
|
|
Martin Pitt |
2.3.3 |
10 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
49
|
|
|
Martin Pitt |
2.3.2 |
10 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
48
|
|
|
Martin Pitt |
2.3 |
10 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
47
|
|
|
Martin Pitt |
2.2.5 |
10 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
46
|
|
|
Martin Pitt |
2.2.4 |
10 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
45
|
|
|
Jean-Baptiste Lallem... |
|
11 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
44
|
|
|
Martin Pitt |
2.2.3ubuntu5 |
11 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
43
|
|
|
Martin Pitt |
|
11 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
42
|
|
|
Jean-Baptiste Lallem... |
2.2.3ubuntu4 |
11 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
41
|
|
|
Jean-Baptiste Lallem... |
2.2.3ubuntu3 |
11 years ago
|
![Diff](/static/images/ico_diff.gif) |
|
40
|
|
|
Jean-Baptiste Lallem... |
2.2.3ubuntu2 |
11 years ago
|
![Diff](/static/images/ico_diff.gif) |
|