Skip to content

test executable always built even when build_by_default is false #2518

@adrianjohnson

Description

@adrianjohnson

I have an executable used for testing that has build_by_default set to false because the sources for the test executable are three times the size of the rest of the code and most of the time I don't need it built.

If I create a test() that uses the executable it is always built. I would expect it to only get built if I run ninja test.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions