~ubuntu-branches/ubuntu/wily/autopkgtest/wily

« back to all changes in this revision

Viewing changes to lib/testdesc.py

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2015-05-13 14:45:43 UTC
  • mfrom: (110.2.17 sid)
  • Revision ID: package-import@ubuntu.com-20150513144543-3d7nhxjqlnqzdmau
Tags: 3.14.1
* Go back to using the backgrounded reboot command as we had before 3.14.
  Just calling "reboot" is prone to hangs and timeouts in case reboot is too
  fast and shuts down our communication channel.
* Fix --override-control option in adt-run(1). (LP: #1453495)
* Fail with an error if --override-control file does not exist.
  (LP: #1453503)
* ssh-setup/snappy: Add -b/--show-boot option to direct boot and console
  messages to stdout. (LP: #1453154)
* adt-virt-qemu.1: Document --show-boot option.
* Add test case for using a @ command line include file for a virt runner.
* Strip leading and trailing space from argument lines in '@' included
  command line argument files. (LP: #1453498)

Show diffs side-by-side

added added

removed removed

Lines of Context:
348
348
    if not control_path:
349
349
        control_path = os.path.join(srcdir, 'debian', 'tests', 'control')
350
350
 
351
 
    if not os.path.exists(control_path):
352
 
        control = _autodep8(srcdir)
353
 
        if control is None:
354
 
            return ([], False)
355
 
        control_path = control.name
 
351
        if not os.path.exists(control_path):
 
352
            control = _autodep8(srcdir)
 
353
            if control is None:
 
354
                return ([], False)
 
355
            control_path = control.name
356
356
 
357
357
    for record in parse_rfc822(control_path):
358
358
        command = None