adt-run arguments are order dependent

Bug #1414122 reported by dobey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
autopkgtest (Ubuntu)
Won't Fix
Undecided
Unassigned

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.

Revision history for this message
Martin Pitt (pitti) wrote :

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
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.