google / google/fuzztest

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

Open
#1,683 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.1k
Forks
137
Avg merge
3d 6h
Merged PRs (30d)
22

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.