Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pw_fuzzer] rebasing submodules to correct version + doc update #35799

Merged
merged 7 commits into from
Sep 27, 2024
6 changes: 5 additions & 1 deletion docs/guides/BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,11 @@ Tests will be located in:
`chip_pw_fuzztest` is the name of the toolchain used.

- Details on How To Run Fuzz Tests in
[Running FuzzTests](https://github.com/project-chip/connectedhomeip/blob/master/docs/testing/fuzz_testing.md)
[Running FuzzTests](https://github.com/project-chip/connectedhomeip/blob/master/docs/testing/fuzz_testing.md#running-fuzztests)

FAQ: In the event of a build failure related to missing files or dependencies
for pw_fuzzer, check the
[FuzzTest FAQ](https://github.com/project-chip/connectedhomeip/blob/master/docs/testing/fuzz_testing.md#FAQ)

## Build custom configuration

Expand Down
19 changes: 19 additions & 0 deletions docs/testing/fuzz_testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,25 @@ $ ./fuzz-chip-cert-pw --fuzz=ChipCert.DecodeChipCertFuzzer

```

### FAQ

#### What revision should the FuzzTest and Abseil submodules be for running `pw_fuzzer` with FuzzTest?

- Google FuzzTest is integrated into Matter using `pw_fuzzer`, which has
several dependencies. These dependencies are listed here:
[Step 0: Set up FuzzTest for your project](https://pigweed.dev/pw_fuzzer/guides/fuzztest.html#step-0-set-up-fuzztest-for-your-project).
- Matter integrates these dependencies as submodules, including Google
FuzzTest and Abseil.
- Since FuzzTest and Abseil only support the `bazel` and `CMake` build systems
and do not support GN, Pigweed maintainers use a script to generate GN files
for these dependencies.
- the revision of FuzzTest and Abseil submodules in Matter should match or at
least be as new as the specific version (SHA1) used when generating these GN
files.
- You can find the version used for the generated GN files here:
[FuzzTest Version](https://pigweed.dev/third_party/fuzztest/#version) and
[Abseil Version](https://pigweed.dev/third_party/abseil-cpp/#version).

#### TO ADD:

- More Information on Test Fixtures (After issues are resolved)
Expand Down
2 changes: 1 addition & 1 deletion third_party/abseil-cpp/src
Submodule src updated 339 files
2 changes: 1 addition & 1 deletion third_party/fuzztest
Submodule fuzztest updated 283 files
Loading