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

Unified Diff: testing/scripts/run_gtest_perf_test.py

Issue 2879623002: Enable extra flags to make sure that C++ perf tests always output metrics (Closed)
Patch Set: Created 3 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/scripts/run_gtest_perf_test.py
diff --git a/testing/scripts/run_gtest_perf_test.py b/testing/scripts/run_gtest_perf_test.py
index 638929f3f5b87919c0ed4158ca562174e357fab3..06ade5f0443e3b18cf0f85b6e2882b09b36c3c55 100755
--- a/testing/scripts/run_gtest_perf_test.py
+++ b/testing/scripts/run_gtest_perf_test.py
@@ -88,6 +88,13 @@ def main():
extra_flags = []
if len(rest_args) > 1:
extra_flags = rest_args[1:]
+
+ # These flags are to make sure that test output perf metrics in the log.
+ if not '--verbose' in extra_flags:
+ extra_flags.append('--verbose')
+ if not '--test-launcher-print-test-stdio=always' in extra_flags:
+ extra_flags.append('--test-launcher-print-test-stdio=always')
+
if IsWindows():
executable = '.\%s.exe' % executable
else:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698