Hello Josch,

Johannes 'josch' Schauer [2018-12-07 23:11 +0100]:
> Unfortunately under "Test-Command" it also says "This is mutually
> exclusive with the ``Tests:`` field". Is there a practical reason why
> these fields are mutually exclusive? Naively, I would've expected, that
> when Test-Command is given, then it doesn't look for a script but
> instead executes the command but that it anyways takes the test name
> from the "Tests" field. It seems unnecessarily complicated to require
> the test-name feature thing.

I did that back then as I didn't want to redefine the meaning of "Tests:", as
this is a very stable API now. I. e. if you have

  Tests: foo, bar
  Test-Command: baz

and debian/tests/{foo,bar} exist, it's a self-contradictory description. Hence
using a feature for this, which avoids ambiguity.

Martin

Reply via email to