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

Unified Diff: testing/scripts/gtest_perf_test.py

Issue 1124763003: Update from https://crrev.com/327068 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: update nacl, buildtools, fix display_change_notifier_unittest Created 5 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
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 = [

Powered by Google App Engine
This is Rietveld 408576698