Newer version
diff --git a/test/cpp/util/benchmark_config.cc b/test/cpp/util/benchmark_config.cc
index b688224..6b573ab 100644
--- a/test/cpp/util/benchmark_config.cc
+++ b/test/cpp/util/benchmark_config.cc
@@ -39,6 +39,8 @@
DEFINE_string(access_token, "", "Authorizing JSON string for leaderboard");
+DEFINE_string(test_name, "", "Name of the test being executed");
+
// In some distros, gflags is in the namespace google, and in some others,
// in gflags. This hack is enabling us to find both.
namespace google {}
@@ -61,7 +63,7 @@
}
if(!FLAGS_access_token.empty())
composite_reporter->add(
- std::unique_ptr<Reporter>(new UserDatabaseReporter("UserDataReporter", FLAGS_access_token)));
+ std::unique_ptr<Reporter>(new UserDatabaseReporter("UserDataReporter", FLAGS_access_token, FLAGS_test_name)));
return std::shared_ptr<Reporter>(composite_reporter);
}