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

Unified Diff: testing/scripts/gtest_perf_test.py

Issue 1108173002: Roll //build, //native_client, and a few more targets of opportunity. Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Test fix Created 5 years, 8 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 | « testing/legion/task_registration_server.py ('k') | testing/test.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/scripts/gtest_perf_test.py
diff --git a/testing/scripts/gtest_perf_test.py b/testing/scripts/gtest_perf_test.py
index 6243a79dc2c53e41c1bda92df0a6032316a4f4a6..af4380f65710658bc5c8a02a3ddc46b7f85cb063 100755
--- a/testing/scripts/gtest_perf_test.py
+++ b/testing/scripts/gtest_perf_test.py
@@ -11,6 +11,10 @@ import sys
import common
+def IsWindows():
+ return sys.platform == 'cygwin' or sys.platform.startswith('win')
+
+
def main_run(args):
filter_tests = []
if args.filter_file:
@@ -19,6 +23,8 @@ def main_run(args):
perf_id = args.properties.get('perf-id')
script_args = args.args
test_suite = script_args[0]
+ if IsWindows():
+ script_args[0] += '.exe'
with common.temporary_file() as tempfile_path:
gtest_args = [
« no previous file with comments | « testing/legion/task_registration_server.py ('k') | testing/test.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698