Commit 78663537 authored by Benjamin Pastene's avatar Benjamin Pastene Committed by Commit Bot

Configure telemetry unittests on CrOS device bot to run on the devices.

Right now they're trying to run the tests on the linux host, not the
actual cros devices. This will configure the tests to run on the devices
via ssh.

Bug: 814935
Change-Id: Icef761382276e8ea68b03102c3c5c2d6353c63c3
Reviewed-on: https://chromium-review.googlesource.com/957682Reviewed-by: default avatarJohn Budorick <jbudorick@chromium.org>
Reviewed-by: default avatarNed Nguyen <nednguyen@google.com>
Commit-Queue: Benjamin Pastene <bpastene@chromium.org>
Cr-Commit-Position: refs/heads/master@{#542679}
parent d79c6851
......@@ -630,11 +630,9 @@
"isolated_scripts": [
{
"args": [
"--browser=exact",
"--browser-executable=./test_chrome",
"--xvfb",
"--skip=benchmarks.benchmark_smoke_unittest.BenchmarkSmokeTest.v8.runtime_stats.top_25",
"--skip=scripts_smoke_unittest.ScriptsSmokeTest.testRunTelemetryBenchmarkAsGoogletest"
"--browser=cros-chrome",
"--remote=variable_chromeos_device_hostname",
"--xvfb"
],
"isolate_name": "telemetry_perf_unittests",
"name": "telemetry_perf_unittests",
......@@ -652,14 +650,9 @@
},
{
"args": [
"--browser=exact",
"--browser-executable=./test_chrome",
"--jobs=1",
"--skip=telemetry.internal.actions.action_runner_unittest.ActionRunnerTest.testWaitForElement",
"--skip=telemetry.internal.actions.action_runner_unittest.ActionRunnerTest.testWaitForElementWithWrongText",
"--skip=telemetry.internal.actions.action_runner_unittest.ActionRunnerTest.testWaitForJavaScriptCondition",
"--skip=telemetry.internal.actions.key_event_unittest.KeyPressActionTest.testPressEndAndHome",
"--skip=telemetry.page.page_run_end_to_end_unittest.ActualPageRunEndToEndTests.testTrafficSettings"
"--browser=cros-chrome",
"--remote=variable_chromeos_device_hostname",
"--jobs=1"
],
"isolate_name": "telemetry_unittests",
"name": "telemetry_unittests",
......
......@@ -334,6 +334,30 @@
},
},
'chromeos_remote_device_isolated_tests': {
'telemetry_perf_unittests': {
'args': [
'--browser=cros-chrome',
'--remote=variable_chromeos_device_hostname',
'--xvfb',
],
'swarming': {
'hard_timeout': 960,
'shards': 12,
},
},
'telemetry_unittests': {
'args': [
'--browser=cros-chrome',
'--remote=variable_chromeos_device_hostname',
'--jobs=1',
],
'swarming': {
'shards': 4,
},
},
},
'chromium_android_asan_gtests': {
# TODO(kbr): reduce duplication among these tests, and with other
# test suites.
......
......@@ -1743,7 +1743,7 @@
'chromiumos_preflight',
],
'test_suites': {
'isolated_scripts': 'linux_chromeos_rel_isolated_scripts',
'isolated_scripts': 'chromeos_remote_device_isolated_tests',
},
'swarming': {
'dimension_sets': [
......
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