Skip to content

Commit

Permalink
third_party/fuchsia: Pull in fit::function tests
Browse files Browse the repository at this point in the history
Sync function_tests.cc so Pigweed can run the fit::function tests in its
environment.

Change-Id: I920af7f8b88967fcd6620bd41d32e63a76d5d93b
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/109716
Commit-Queue: Wyatt Hepler <hepler@google.com>
Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com>
Reviewed-by: Rob Mohr <mohrr@google.com>
  • Loading branch information
255 authored and CQ Bot Account committed Sep 9, 2022
1 parent 5900a53 commit 93820b0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions third_party/fuchsia/copy.bara.sky
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ fuchsia_repo_files = [
"sdk/lib/fit/include/lib/fit/nullable.h",
"sdk/lib/fit/include/lib/fit/traits.h",
"sdk/lib/fit/include/lib/fit/utility_internal.h",
"sdk/lib/fit/test/function_tests.cc",
# stdcompat
"sdk/lib/stdcompat/include/lib/stdcompat/optional.h",
"sdk/lib/stdcompat/include/lib/stdcompat/type_traits.h",
Expand Down Expand Up @@ -53,6 +54,8 @@ core.workflow(
core.move("", "third_party/fuchsia/repo"),
# Apply the patch file created by generate_fuchsia_patch.py.
patch.apply(["pigweed_adaptations.patch"]),
# Replace test #includes with gtest.
core.replace("#include <zxtest/zxtest.h>", "#include \"gtest/gtest.h\""),
# Show all commits but exclude the author to reduce line length.
metadata.squash_notes(
"third_party/fuchsia: Copybara import of the fit library\n\n",
Expand Down

0 comments on commit 93820b0

Please sign in to comment.