[Bug 1453509] Re: simplify command line by only allowing exactly one test argument
Launchpad Bug Tracker
1453509 at bugs.launchpad.net
Thu Jun 9 20:12:14 UTC 2016
This bug was fixed in the package autopkgtest - 4.0+git1
---------------
autopkgtest (4.0+git1) yakkety; urgency=medium
* Skip tests/autopkgtest NullRunner.test_apt_source_nonexisting test instead
of failing if there are no deb-src apt sources configured on the host.
autopkgtest (4.0) unstable; urgency=medium
* Add new "autopkgtest" CLI. This provides a simplified CLI compared to the
now deprecated adt-run:
- It accepts only exactly one tested source package, and gives a proper
error if none or more than one (often unintend) is given
- It defaults to the current directory if that is a Debian source package
- The order of arguments is not relevant any more
- Built vs. unbuilt tree is now automatically detected
- The explicit --source, --click-source etc. options are gone, the type of
tested source/binary packages is detected automatically
- The virtualization server is now separated with a double instead of a
tripe dash, as the former is standard Unix syntax.
- The virtualization server must be specified with its "short" name only,
e. g. "ssh" instead of "adt-virt-ssh".
The old "adt-run" CLI will still be available for some time.
(Closes: #795274, LP: #1453509)
* Rename adt-build* tools to autopkgtest-build* and build images prefixed
with"autopkgtest" instead of "adt". Keep compatibility symlink for the old
commands, and when being called through them, also produce images with the
old adt* names.
* Rename public ADT_* env vars to AUTOPKGTEST_*:
- AUTOPKGTEST_APT_PROXY
- AUTOPKGTEST_ARTIFACTS
- AUTOPKGTEST_AUTOPILOT_MODULE
- AUTOPKGTEST_NORMAL_USER
- AUTOPKGTEST_REBOOT_MARK
- AUTOPKGTEST_TMP
As these are being used in existing tests and tools, also export/check
those under their old ADT_* name.
-- Martin Pitt <martin.pitt at ubuntu.com> Thu, 09 Jun 2016 08:12:49
+0200
** Changed in: autopkgtest (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1453509
Title:
simplify command line by only allowing exactly one test argument
Status in autopkgtest package in Ubuntu:
Fix Released
Status in autopkgtest package in Debian:
Fix Released
Bug description:
autopkgtest for a dkms module with autodep8.
Content of local control file:
'''
Test-Command: /non-existent
Restrictions: needs-root, allow-stderr
Depends: dkms
'''
This command fails (as expected)
adt-run -d --override-control=dkms/dkms.control asic0x --- qemu adt-vivid-amd64-cloud.img
But this command passes:
adt-run asic0x -d --override-control=dkms/dkms.control --- qemu adt-vivid-amd64-cloud.img
In the second case, the test uses the control file generated by
autodep8 instead of the control file provided on the command line.
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: autopkgtest 3.14
ProcVersionSignature: Ubuntu 3.19.0-16.16-generic 3.19.3
Uname: Linux 3.19.0-16-generic x86_64
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Sun May 10 11:03:40 2015
InstallationDate: Installed on 2013-09-03 (613 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902)
PackageArchitecture: all
SourcePackage: autopkgtest
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1453509/+subscriptions
More information about the foundations-bugs
mailing list