1. 14 Oct, 2018 1 commit
  2. 17 Sep, 2017 1 commit
    • Martin Pitt's avatar
      Drop obsolete adt-* CLI · f2d76c6a
      Martin Pitt authored
      autopkgtest 4.0 with its "autopkgtest" program has been around for a
      year, Debian's and Ubuntu's CI moved to that, and the Debian 9.0 release
      is behind us. Drop "adt-run" and the corresponding adt-virt-* and
      adt-build-* command line interfaces now.
      Add Breaks: for debci for versions that still relied on adt-*.
  3. 29 Aug, 2016 1 commit
    • Martin Pitt's avatar
      Put virt servers back into $PATH · d5f232d7
      Martin Pitt authored
      The virt servers were originally intended to be public API (even though not
      documented as such) and other packages might provide virt servers. Put them
      back into /usr/bin, with an "autopkgtest-virt-" prefix to mirror the original
      "adt-virt-" naming.
      Add <basedir>/virt/ to $PATH in autopkgtest so that running out of a git
      checkout continues to work.
      Rename the manpages to match the binaries.
      Closes: #835204
  4. 12 Aug, 2016 1 commit
  5. 05 Jun, 2016 5 commits
    • Martin Pitt's avatar
      Rename adt-buildvm-ubuntu-cloud to autopkgtest-buildvm-ubuntu-cloud · c2cbf145
      Martin Pitt authored
      Keep compatibility symlink. Keep the old output name when being called under
      the old executable name, otherwise generate autopkgtest-release-arch.img.
    • Martin Pitt's avatar
      Rename adt-build-lxc to autopkgtest-build-lxc · 6d205a15
      Martin Pitt authored
      Also rename $ADT_APT_PROXY to $AUTOPKGTEST_APT_PROXY. Keep compatibility
      symlink and fallback to $ADT_APT_PROXY.
    • Martin Pitt's avatar
      Rename adt-build-lxd to autopkgtest-build-lxd · 83964828
      Martin Pitt authored
      Also rename $ADT_APT_PROXY to $AUTOPKGTEST_APT_PROXY. Keep compatibility
      symlink and fallback to $ADT_APT_PROXY.
    • Martin Pitt's avatar
      Reorganize virtualization backends · 0122291b
      Martin Pitt authored
       * Rename adt-virt-foo to just foo, to drop more visible "adt" things.
       * Move them out of $PATH as they are not really useful by themselves, and
         install them into /usr/share/autopkgtest/virt/.
       * Add backwards compatibility shim for adt-run to be able to call them with
         "adt-virt-" prefix.
    • Martin Pitt's avatar
      Add new "autopkgtest" CLI · 02a41322
      Martin Pitt authored
      Add runner/autopkgtest which provides a simplified CLI compared to the now
      deprecated adt-run:
       - It accepts only exactly one tested source package
       - 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 old "adt-run" CLI will still be available for some time.
      Create an adt-run → autopkgtest symlink for that which will import the old
      adt_run_args.py module instead of the new autopkgtest_args.py (which provides
      an identical API towards the caller). Once adt-run goes away,
      autopkgtest_args.py and runner/autopkgtest can be simplified.
      In runner/autopkgtest we now need to treat --testname and --override-control
      differently: Take it directly from the options as "autopkgtest", but continue
      to take it from the parsed actions as "adt-run".
      Closes: #795274
      LP: #1453509
  6. 02 Jun, 2016 1 commit
    • Martin Pitt's avatar
      Add simplified CLI parser · cc586dbb
      Martin Pitt authored
      Create a new lib/autopkgtest_args.py which is a simplified version of the old
      adt_run_args.py. It accepts only exactly one tested source package, but the
      order of arguments is not relevant any more.
      If no source package is given on the command line and the current working
      directory is a Debian source package, test that.
      This is preparation for LP: #1453509 and https://bugs.debian.org/795274 .
  7. 23 May, 2016 1 commit
  8. 05 Apr, 2016 1 commit
    • Martin Pitt's avatar
      Make build reproducible · 7b1ed33b
      Martin Pitt authored
      Makefile: Install SKELETON after the programs (which use an [a-z] glob), as the
      latter behaves differently in different locales.
      Thanks Alexis Bienvenüe!
      Closes: #820148
  9. 13 Jan, 2016 1 commit
  10. 17 Dec, 2015 1 commit
    • Martin Pitt's avatar
      Add adt-build-lxd tool · c846374e
      Martin Pitt authored
      This builds or updates an LXD image with standard autopkgtest customizations
      applied. This is similar to adt-build-lxc.
  11. 14 Dec, 2015 1 commit
    • Martin Pitt's avatar
      Unify test bed setup scripts · 6756fbfa
      Martin Pitt authored
      Unify setup script for VMs (adt-setup-vm), containers (in adt-build-lxc) and
      cloud (setup-commands/cloud-vm-setup) into a common script
      setup-commands/setup-testbed. This will work both for image building (VM,
      cloud, LXC, LXD) and as --setup-commands (in which case some actions are
      Also speed up and quiesce purging of packages by first checking if they are
      actually installed.
  12. 10 Dec, 2015 1 commit
  13. 15 Sep, 2015 1 commit
  14. 21 Jul, 2014 1 commit
  15. 01 Jul, 2014 3 commits
  16. 27 Jun, 2014 1 commit
    • Martin Pitt's avatar
      Add setup-commands/ubuntu-touch-session · 584cc622
      Martin Pitt authored
      --setup-commands script for installing click, the Ubuntu SDK, some extra
      packages for autopilot, and launching Xvfb and an user upstart session.
      This approximates the environment of an Ubuntu touch device. You can also run
      setup-commands/ro-apt afterwards.
      Use this in schroot, lxc, or qemu runner. Everything that's required will be
      installed, but as that's a lot of packages it is advisable to run this on a
      testbed which has at least ubuntu-sdk-libs already pre-installed.
  17. 25 Jun, 2014 1 commit
    • Martin Pitt's avatar
      Build HTML from the README files · 2c9bc44f
      Martin Pitt authored
      Convert doc/README.* to reStructuredText and rename to *.rst. Build HTML files
      from them using rst2html and install them also.
      Add a python3-docutils build dependency for this.
  18. 13 Jun, 2014 1 commit
  19. 12 Jun, 2014 1 commit
    • Martin Pitt's avatar
      Unify logging functions · 408e1ce8
      Martin Pitt authored
      Move all logging functions into lib/adtlog.py, make their API easier and more
      consistent, and use them in adt-run and all adt-virt-*.
  20. 09 Jun, 2014 2 commits
  21. 19 Mar, 2014 1 commit
    • Martin Pitt's avatar
      Add creation of Debian QEMU VMs · 93b50eba
      Martin Pitt authored
      * Add tools/adt-setup-vm: Setup script for vmdebootstrap (and potentially
        others) to start a root shell on tty1, set up networking for eth0, and enable
        deb-src apt sources.
      * adt-virt-qemu.1: Describe how to create a suitable Debian VM with
  22. 26 Feb, 2014 1 commit
  23. 10 Feb, 2014 1 commit
  24. 09 Feb, 2014 1 commit
  25. 11 Dec, 2013 2 commits
  26. 18 Oct, 2013 1 commit
    • Martin Pitt's avatar
      Add adt-virt-lxc test runner · 617e6f48
      Martin Pitt authored
      Many thanks to Robie Basak for this! This runner provides "revert" and
      "revert-full-system" capabilities which is useful for packages which have the
      "breaks-testbed" restriction and multiple tests. For the time being this only
      works with the ubuntu-cloud template; support for general debian/ubuntu
      containers requires an lxc-wait mechanism ("did the container finish booting?")
      and getting along with the different user setups (debian using "root",  ubuntu
      using an "ubuntu" user with sudo capabilities).
  27. 30 Jul, 2011 1 commit
  28. 29 Jul, 2011 1 commit
    • Ian Jackson's avatar
      python libs: new Autopkgtest.py module · 85c98967
      Ian Jackson authored
      - This makes shellscript quoting available to adt-run too
      - Python modules moved to lib/ directory
      - AUTOPKGTEST_BASE semantics have changed slightly
  29. 25 Jul, 2011 1 commit
  30. 18 Oct, 2007 2 commits
  31. 08 Mar, 2007 1 commit