google / google/oss-fuzz

`compile_native_go_fuzzer`: support _test suffixed packages

Open
#7,923 7 comments 2 reactions 1 assignee Claimed by @AdamKorcz View on GitHub
Dominant language
Shell
Stars
12.6k
Forks
2.9k
Avg merge
2d 2h
Merged PRs (30d)
62

Description

Go supports defining tests in `package` and `package_test` packages. (https://jdkaplan.dev/thinkin-logs/2021-10-07/). However, when using the latter form we end up with issues:
```
-: found packages mesh (mesh.go) and mesh_test (mesh_test.go_fuzz_.go) in /src/istio/pkg/config/mesh
```

cc @AdamKorcz

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.