• 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_guest"
7PURPOSE = "Run the Telemetry unit tests as guest (incognito)."
8ATTRIBUTES = "suite:telemetry_unit_server"
9TIME = "LONG"
10TEST_CATEGORY = "Functional"
11TEST_CLASS = "desktopui"
12TEST_TYPE = "server"
13
14DOC = """
15Verifies that all Telemetry unit tests pass when run as guest (incognito).
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                 browser_type='system-guest', tag='guest',
24                 unit_tests=['BrowserTest'], perf_tests=[])
25
26
27job.parallel_simple(run_client, machines)
28