Skip to content

Commit

Permalink
Added copts_ in test/BUILD.bazel
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurBandaryk committed Oct 7, 2021
1 parent a078f7b commit 9b4dd3a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
load("@rules_cc//cc:defs.bzl", "cc_test")

copts_ = [
"-Werror",
"-Wno-error=deprecated-declarations",
]

eventuals_base_sources = [
"eventual.cc",
"stream.cc",
Expand Down Expand Up @@ -41,6 +46,7 @@ eventuals_http_sources = select({
cc_test(
name = "eventuals",
srcs = eventuals_base_sources + eventuals_events_sources + eventuals_http_sources,
copts = copts_,
deps = [
"//:eventuals",
"@com_github_google_googletest//:gtest_main",
Expand Down

0 comments on commit 9b4dd3a

Please sign in to comment.