[Bug 1414122] Re: adt-run arguments are order dependent

Martin Pitt martin.pitt at ubuntu.com
Sun Jan 25 13:08:03 UTC 2015


As you can run several tests/packages with adt-run, *all* arguments that
specify tests are order dependent. It's been like that since day 1, and
I don't want to break backwards compatibility by disallowing to run more
than one package now.

> the documentation does not state they must be in a certain order

It does:

       --click-source clicksrc
              Path to click source tree for subsequent --click package.

       --click clickpkg
        [....]
       Run  click  package  tests  from  the  preceeding  --click-source.   [...]

** Changed in: autopkgtest (Ubuntu)
       Status: New => Won't Fix

-- 
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/1414122

Title:
  adt-run arguments are order dependent

Status in autopkgtest package in Ubuntu:
  Won't Fix

Bug description:
  Some of the arguments to the adt-run command are dependent on
  position.

  Both of these incantations work as expected:

  adt-run . --click ../foo.click
  adt-run --click-source . --click ../foo.click

  However, this one does not:

  adt-run --click ../foo.click --click-source .

  There is no error about positional arguments, the documentation does
  not state they must be in a certain order, and other arguments are not
  dependent on position. Instead, the command continues and old tests
  get run. Please fix these arguments to also not be positional.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1414122/+subscriptions



More information about the foundations-bugs mailing list