Package: autopkgtest
Version: 5.6
Severity: normal

Hi,

from here:

https://salsa.debian.org/ci-team/autopkgtest/raw/master/doc/README.package-tests.rst

it says:

> Features: feature-name [, another-feature-name ...]
>     Declares some additional capabilities or good properties of the
>     tests defined in this stanza. Any unknown features declared will be
>     completely ignored. See below for the defined features.
> 
>     Features are separated by commas and/or whitespace.

then further below under "defined features" it says:

> test-name
>     Set an explicit test name for the log heading and the ``summary`` file
>     for a ``Test-Command:`` inline test. When not given, these are
>     enumerated like ``command1``.

But this does not explain the syntax of how a test name is actually
specified. Does one just write it in the Features field? Or is it
test-name:thename or does one have to quote something?

Please document what the right syntax is.

My use case: I have a test that uses Test-Command but the output becomes
hard to understand if tests are just named command1, command2 and so
forth. Thus I want to give them meaningful names.

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.

Thanks!

cheers, josch

Reply via email to