Skip to content

Commit

Permalink
[C++] Add the generated test output of google#7520 to the repo to fix…
Browse files Browse the repository at this point in the history
… the bazel CI.
  • Loading branch information
Naios committed Sep 21, 2022
1 parent 952a2c0 commit e4916e1
Show file tree
Hide file tree
Showing 2 changed files with 507 additions and 2 deletions.
12 changes: 10 additions & 2 deletions tests/BUILD.bazel
Expand Up @@ -8,6 +8,9 @@ cc_test(
name = "flatbuffers_test",
testonly = 1,
srcs = [
"alignment_test.cpp",
"alignment_test.h",
"alignment_test_generated.h",
"evolution_test.cpp",
"evolution_test.h",
"evolution_test/evolution_v1_generated.h",
Expand Down Expand Up @@ -44,14 +47,13 @@ cc_test(
"union_vector/union_vector_generated.h",
"util_test.cpp",
"util_test.h",
"alignment_test.cpp",
"alignment_test.h",
],
copts = [
"-DFLATBUFFERS_TRACK_VERIFIER_BUFFER_SIZE",
"-DBAZEL_TEST_DATA_PATH",
],
data = [
":alignment_test.fbs",
":arrays_test.bfbs",
":arrays_test.fbs",
":arrays_test.golden",
Expand Down Expand Up @@ -92,6 +94,7 @@ cc_test(
"include/",
],
deps = [
":alignment_test_cc_fbs",
":arrays_test_cc_fbs",
":monster_extra_cc_fbs",
":monster_test_cc_fbs",
Expand Down Expand Up @@ -216,3 +219,8 @@ flatbuffer_cc_library(
"--cpp-ptr-type flatbuffers::unique_ptr",
],
)

flatbuffer_cc_library(
name = "alignment_test_cc_fbs",
srcs = ["alignment_test.fbs"],
)

0 comments on commit e4916e1

Please sign in to comment.