• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2017 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5AUTHOR = "achuith@chromium.org"
6NAME = "telemetry_UnitTestsServer_perf"
7PURPOSE = "Run the Telemetry perf unit tests as a logged-in user."
8ATTRIBUTES = "suite:telemetry_unit_server"
9TIME = "LONG"
10TEST_CATEGORY = "Functional"
11TEST_CLASS = "desktopui"
12TEST_TYPE = "server"
13
14DOC = """
15Verifies that all Telemetry perf unit tests pass when run as a logged-in user.
16"""
17
18def run_client(machine):
19    host = hosts.create_host(machine)
20    host.log_kernel()
21    job.run_test('telemetry_UnitTestsServer', host=host,
22                 use_packaging=use_packaging,
23                 copy_boto_file=True,
24                 browser_type='system', tag='perf', unit_tests=[],
25                 perf_tests=[''])
26
27
28job.parallel_simple(run_client, machines)
29