Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(219)

Unified Diff: client/deps/glbench/src/main.cc

Issue 2938010: Removed site_ui.xcommand and made md5_file ignore exceptions. (Closed) Base URL: ssh://git@chromiumos-git//autotest.git
Patch Set: better error reporting Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | client/site_tests/graphics_GLBench/graphics_GLBench.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/deps/glbench/src/main.cc
diff --git a/client/deps/glbench/src/main.cc b/client/deps/glbench/src/main.cc
index 53d33a6c16f98d03309fdf85085c85f853df297a..b579bf707b53e69bb2d7fe36a85ebb3d9d937b6e 100644
--- a/client/deps/glbench/src/main.cc
+++ b/client/deps/glbench/src/main.cc
@@ -21,7 +21,6 @@ using std::vector;
DEFINE_int32(duration, 0, "run tests in a loop for at least this many seconds");
DEFINE_string(tests, "", "colon-separated list of tests to run; "
"all tests if omitted");
-DEFINE_bool(get_board_id, false, "return the board id for checksums");
bool test_is_enabled(glbench::TestBase* test,
@@ -49,12 +48,10 @@ int main(int argc, char *argv[]) {
return 1;
}
- if (FLAGS_get_board_id) {
- InitContext();
- printf("%s / %s\n", glGetString(GL_VENDOR), glGetString(GL_RENDERER));
- DestroyContext();
- return 0;
- }
+ InitContext();
+ printf("# board_id: %s / %s\n",
+ glGetString(GL_VENDOR), glGetString(GL_RENDERER));
+ DestroyContext();
vector<string> enabled_tests;
SplitString(FLAGS_tests, ':', &enabled_tests);
« no previous file with comments | « no previous file | client/site_tests/graphics_GLBench/graphics_GLBench.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698