Skip to content

test.require applies to whole plan #2264

@LecrisUT

Description

@LecrisUT

This is a bit unexpected, but when specifying a require in a test's tmt, this then applies it to the whole plan that calls it. It is more natural to assume that the require is only added to the specific test:

Example: https://github.com/scikit-build/scikit-build-core
The /examples plan runs all tests in /docs/example where for example in /docs/example/getting_strated/fortran it has:

require+:
  - gcc-gfortran

It is preferred that these dependencies do not porpagate to the other tests in order to keep the testing environments clean from each other.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions