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" 7PURPOSE = "Run the Telemetry 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 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='user', unit_tests=[''], 25 perf_tests=[]) 26 27 28job.parallel_simple(run_client, machines) 29