Skip to content

[question] Question about test_requires when tools.build:skip_test=True #17147

Closed
@andersonjd

Description

@andersonjd

What is your question?

If I run the following command:

conan install . --build=missing -c tools.build:skip_test=True

Conan will resolve and build all test_requires for the package dependencies that are missing, even though testing will not be built or performed according to the skip_test=True configuration.

According to the docs here: test-requires, it seems like this is the intended behavior. Can this be changed?

If I have set the skip_test=True configuration I would like to avoid an fetching / building of test_requires all together.

Have you read the CONTRIBUTING guide?

  • I've read the CONTRIBUTING guide

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