Skip to content

default fuzztest.bazelrc prevents instrumentation of anything under a common folder #1683

Open
@carpenterjc

Description

@carpenterjc

We have a repo where there is tooling under a folder called common.

The generated fuzztest.bazelrc includes the following line:
build:fuzztest --per_file_copt=common/.*,fuzztest/.*,centipede/.*,-centipede/.*fuzz_target,googletest/.*,googlemock/.*@-fsanitize-coverage=0

This is supposed to prevent instrumentation of just the common folder in the fuzztest repo, however it actually prevents instrumentation of all common folders including the repo under test.

This is with bazel 8.1.1 and fuzztest imported via modules.

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