Home | History | Annotate | Download | only in telemetry_UnitTestsServer
      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 
      5 AUTHOR = "achuith (a] chromium.org"
      6 NAME = "telemetry_UnitTestsServer_guest"
      7 PURPOSE = "Run the Telemetry unit tests as guest (incognito)."
      8 ATTRIBUTES = "suite:telemetry_unit_server"
      9 TIME = "LONG"
     10 TEST_CATEGORY = "Functional"
     11 TEST_CLASS = "desktopui"
     12 TEST_TYPE = "server"
     13 
     14 DOC = """
     15 Verifies that all Telemetry unit tests pass when run as guest (incognito).
     16 """
     17 
     18 def 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 
     27 job.parallel_simple(run_client, machines)
     28