Skip to content

Commit

Permalink
pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
dmah42 committed Jan 13, 2025
1 parent 31cc971 commit 4f85a1f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ TEST_COPTS = [
"-Wconversion",
"-Wextra",
"-Wshadow",
#"-Wshorten-64-to-32",
# "-Wshorten-64-to-32",
"-Wfloat-equal",
"-fstrict-aliasing",
## assert() are used a lot in tests upstream, which may be optimised out leading to
Expand All @@ -24,7 +24,7 @@ TEST_COPTS = [
"-Werror=old-style-cast",
]

#Some of the issues with DoNotOptimize only occur when optimization is enabled
# Some of the issues with DoNotOptimize only occur when optimization is enabled
PER_SRC_COPTS = {
"donotoptimize_test.cc": ["-O3"],
}
Expand Down Expand Up @@ -54,7 +54,7 @@ cc_library(
],
)

#Tests that use gtest.These rely on `gtest_main`.
# Tests that use gtest. These rely on `gtest_main`.
[
cc_test(
name = test_src[:-len(".cc")],
Expand All @@ -74,7 +74,7 @@ cc_library(
for test_src in glob(["*_gtest.cc"])
]

#Tests that do not use gtest.These have their own `main` defined.
# Tests that do not use gtest. These have their own `main` defined.
[
cc_test(
name = test_src[:-len(".cc")],
Expand All @@ -90,9 +90,9 @@ cc_library(
"//:benchmark",
"//:benchmark_internal_headers",
],
#FIXME : Add support for assembly tests to bazel.
#See Issue #556
#https: // github.com/google/benchmark/issues/556
# FIXME: Add support for assembly tests to bazel.
# See Issue #556
# https://github.com/google/benchmark/issues/556
)
for test_src in glob(
["*_test.cc"],
Expand Down

0 comments on commit 4f85a1f

Please sign in to comment.