Skip to content

Commit

Permalink
Activating CHIP_ERROR log formatter for pw_fuzzer fuzztests
Browse files Browse the repository at this point in the history
  • Loading branch information
Alami-Amine committed Oct 31, 2024
1 parent cd889c2 commit 4f20cd6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/chip/tests.gni
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ declare_args() {
# Enable building tests.
chip_build_tests = current_os != "freertos"

# building unit tests using GoogleTest framework, this should only be enabled through build_examples.py, see PR #36268
# Enabling useful support functions when building using GoogleTest framework (used in unit tests and pw_fuzzer FuzzTests)
# For unit tests: this should only be enabled through build_examples.py, see PR #36268
chip_build_tests_googletest = false
}

Expand Down
3 changes: 3 additions & 0 deletions build/toolchain/pw_fuzzer/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ gcc_toolchain("chip_pw_fuzztest") {
dir_pw_third_party_fuzztest = "//third_party/fuzztest"
dir_pw_third_party_googletest = "$dir_googletest"

# Since pw_fuzzer uses GoogleTest, activating this allows us to benefit from supporting functions
chip_build_tests_googletest = true

# TODO: Seems that re2 support within FuzzTest was deprecated, keeping it defined is triggering warning
# Remove if re2 is indeed not needed
# dir_pw_third_party_re2 = "//third_party/re2/src"
Expand Down

0 comments on commit 4f20cd6

Please sign in to comment.