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" 7 PURPOSE = "Run the Telemetry unit tests as a logged-in user." 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 a logged-in user. 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 copy_boto_file=True, 24 browser_type='system', tag='user', unit_tests=[''], 25 perf_tests=[]) 26 27 28 job.parallel_simple(run_client, machines) 29