Commit bbfe58e4 authored by jbudorick's avatar jbudorick Committed by Commit bot

[Android] Pass devil adb path to the gtest perf tests.

BUG=623989
TBR=dpranke@chromium.org

Review-Url: https://codereview.chromium.org/2437383002
Cr-Commit-Position: refs/heads/master@{#427218}
parent dee96303
...@@ -5,14 +5,18 @@ ...@@ -5,14 +5,18 @@
"scripts": [ "scripts": [
{ {
"args": [ "args": [
"cc_perftests" "cc_perftests",
"--adb-path",
"src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb"
], ],
"name": "cc_perftests", "name": "cc_perftests",
"script": "gtest_perf_test.py" "script": "gtest_perf_test.py"
}, },
{ {
"args": [ "args": [
"gpu_perftests" "gpu_perftests",
"--adb-path",
"src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb"
], ],
"name": "gpu_perftests", "name": "gpu_perftests",
"script": "gtest_perf_test.py" "script": "gtest_perf_test.py"
......
...@@ -5,14 +5,18 @@ ...@@ -5,14 +5,18 @@
"scripts": [ "scripts": [
{ {
"args": [ "args": [
"cc_perftests" "cc_perftests",
"--adb-path",
"src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb"
], ],
"name": "cc_perftests", "name": "cc_perftests",
"script": "gtest_perf_test.py" "script": "gtest_perf_test.py"
}, },
{ {
"args": [ "args": [
"gpu_perftests" "gpu_perftests",
"--adb-path",
"src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb"
], ],
"name": "gpu_perftests", "name": "gpu_perftests",
"script": "gtest_perf_test.py" "script": "gtest_perf_test.py"
...@@ -23,14 +27,18 @@ ...@@ -23,14 +27,18 @@
"scripts": [ "scripts": [
{ {
"args": [ "args": [
"cc_perftests" "cc_perftests",
"--adb-path",
"src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb"
], ],
"name": "cc_perftests", "name": "cc_perftests",
"script": "gtest_perf_test.py" "script": "gtest_perf_test.py"
}, },
{ {
"args": [ "args": [
"gpu_perftests" "gpu_perftests",
"--adb-path",
"src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb"
], ],
"name": "gpu_perftests", "name": "gpu_perftests",
"script": "gtest_perf_test.py" "script": "gtest_perf_test.py"
...@@ -41,7 +49,9 @@ ...@@ -41,7 +49,9 @@
"scripts": [ "scripts": [
{ {
"args": [ "args": [
"cc_perftests" "cc_perftests",
"--adb-path",
"src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb"
], ],
"name": "cc_perftests", "name": "cc_perftests",
"script": "gtest_perf_test.py" "script": "gtest_perf_test.py"
...@@ -52,14 +62,18 @@ ...@@ -52,14 +62,18 @@
"scripts": [ "scripts": [
{ {
"args": [ "args": [
"cc_perftests" "cc_perftests",
"--adb-path",
"src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb"
], ],
"name": "cc_perftests", "name": "cc_perftests",
"script": "gtest_perf_test.py" "script": "gtest_perf_test.py"
}, },
{ {
"args": [ "args": [
"gpu_perftests" "gpu_perftests",
"--adb-path",
"src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb"
], ],
"name": "gpu_perftests", "name": "gpu_perftests",
"script": "gtest_perf_test.py" "script": "gtest_perf_test.py"
...@@ -70,14 +84,18 @@ ...@@ -70,14 +84,18 @@
"scripts": [ "scripts": [
{ {
"args": [ "args": [
"cc_perftests" "cc_perftests",
"--adb-path",
"src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb"
], ],
"name": "cc_perftests", "name": "cc_perftests",
"script": "gtest_perf_test.py" "script": "gtest_perf_test.py"
}, },
{ {
"args": [ "args": [
"gpu_perftests" "gpu_perftests",
"--adb-path",
"src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb"
], ],
"name": "gpu_perftests", "name": "gpu_perftests",
"script": "gtest_perf_test.py" "script": "gtest_perf_test.py"
......
...@@ -48,6 +48,7 @@ def main_run(args): ...@@ -48,6 +48,7 @@ def main_run(args):
'run_%s' % test_suite), 'run_%s' % test_suite),
'--verbose', '--verbose',
]) ])
gtest_args.extend(script_args[1:])
else: else:
gtest_args.extend(['--xvfb']) gtest_args.extend(['--xvfb'])
gtest_args.extend(script_args) gtest_args.extend(script_args)
......
...@@ -23,7 +23,9 @@ from telemetry.util import bot_utils ...@@ -23,7 +23,9 @@ from telemetry.util import bot_utils
SCRIPT_TESTS = [ SCRIPT_TESTS = [
{ {
'args': [ 'args': [
'gpu_perftests' 'gpu_perftests',
'--adb-path',
'src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb',
], ],
'name': 'gpu_perftests', 'name': 'gpu_perftests',
'script': 'gtest_perf_test.py', 'script': 'gtest_perf_test.py',
...@@ -56,7 +58,9 @@ SCRIPT_TESTS = [ ...@@ -56,7 +58,9 @@ SCRIPT_TESTS = [
}, },
{ {
'args': [ 'args': [
'cc_perftests' 'cc_perftests',
'--adb-path',
'src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb',
], ],
'name': 'cc_perftests', 'name': 'cc_perftests',
'script': 'gtest_perf_test.py', 'script': 'gtest_perf_test.py',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment