summaryrefslogtreecommitdiff
path: root/benchmarks/bionic_benchmarks.cpp
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2018-01-08 16:13:14 -0800
committerChristopher Ferris <cferris@google.com>2018-01-08 16:13:14 -0800
commit4c5fde0e5e1e20ae265095332f0ce96745300566 (patch)
tree8f5ed6d15abb593d7fd58eaab221a98740f8257d /benchmarks/bionic_benchmarks.cpp
parentf9fcb1efae7458109b13260d7a7f8db939a1aa2c (diff)
Remove workaround for running property tests.
Also fix the tests for some missing benchmarks that have been added recently. Test: Ran bionic benchmarks tests and all pass. Test: Ran bionic benchmarks to verify that there are no crashes. Change-Id: I8501553e8a229c0c6ea81e894e91ac2f5f2fe26c
Diffstat (limited to 'benchmarks/bionic_benchmarks.cpp')
-rw-r--r--benchmarks/bionic_benchmarks.cpp20
1 files changed, 2 insertions, 18 deletions
diff --git a/benchmarks/bionic_benchmarks.cpp b/benchmarks/bionic_benchmarks.cpp
index d82c739a3..fe7a1b13e 100644
--- a/benchmarks/bionic_benchmarks.cpp
+++ b/benchmarks/bionic_benchmarks.cpp
@@ -514,28 +514,12 @@ static bool FileExists(const std::string& file) {
void RegisterAllBenchmarks(const bench_opts_t& opts,
std::map<std::string, args_vector_t>& args_shorthand) {
- // Add the property tests at the end since they might cause segfaults in
- // tests running afterwards (b/62197783).
- std::vector<std::string> prop_tests;
-
for (auto& entry : g_str_to_func) {
- if (android::base::StartsWith(entry.first, "BM_property_")) {
- prop_tests.push_back(entry.first);
- } else {
- auto& function_info = entry.second;
- args_vector_t arg_vector;
- args_vector_t* run_args = ResolveArgs(&arg_vector, function_info.second,
- args_shorthand);
- RegisterGoogleBenchmarks(bench_opts_t(), opts, entry.first, run_args);
- }
- }
-
- for (auto& prop_name : prop_tests) {
- auto& function_info = g_str_to_func.at(prop_name);
+ auto& function_info = entry.second;
args_vector_t arg_vector;
args_vector_t* run_args = ResolveArgs(&arg_vector, function_info.second,
args_shorthand);
- RegisterGoogleBenchmarks(bench_opts_t(), opts, prop_name, run_args);
+ RegisterGoogleBenchmarks(bench_opts_t(), opts, entry.first, run_args);
}
}