aboutsummaryrefslogtreecommitdiff
path: root/test/BUILD
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2024-05-01 18:54:24 +0000
committerElliott Hughes <enh@google.com>2024-05-01 18:54:24 +0000
commit4bf40a4860e0d76a3deb396606105b617fcd89a8 (patch)
treef3d6ef225548876298c1729555a7cfe26e2cadd6 /test/BUILD
parent56734c9de21b723684c083ccf7fcb8dad46ca387 (diff)
parentbc946b919cac6f25a199a526da571638cfde109f (diff)
downloadgoogle-benchmark-4bf40a4860e0d76a3deb396606105b617fcd89a8.tar.gz
Upgrade google-benchmark to bc946b919cac6f25a199a526da571638cfde109f
This project was upgraded with external_updater. Usage: tools/external_updater/updater.sh update external/google-benchmark For more info, check https://cs.android.com/android/platform/superproject/+/main:tools/external_updater/README.md Test: TreeHugger Change-Id: I99620b3dfaa6fe54a1a1ebe857e4affb449fc469
Diffstat (limited to 'test/BUILD')
-rw-r--r--test/BUILD5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/BUILD b/test/BUILD
index ea34fd4..b245fa7 100644
--- a/test/BUILD
+++ b/test/BUILD
@@ -18,6 +18,10 @@ TEST_COPTS = [
# "-Wshorten-64-to-32",
"-Wfloat-equal",
"-fstrict-aliasing",
+ ## assert() are used a lot in tests upstream, which may be optimised out leading to
+ ## unused-variable warning.
+ "-Wno-unused-variable",
+ "-Werror=old-style-cast",
]
# Some of the issues with DoNotOptimize only occur when optimization is enabled
@@ -32,6 +36,7 @@ PER_SRC_TEST_ARGS = {
"repetitions_test.cc": [" --benchmark_repetitions=3"],
"spec_arg_test.cc": ["--benchmark_filter=BM_NotChosen"],
"spec_arg_verbosity_test.cc": ["--v=42"],
+ "complexity_test.cc": ["--benchmark_min_time=1000000x"],
}
cc_library(