1 # Copyright 2016 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 6 AUTHOR = 'ARC++ Team' 7 NAME = 'cheets_GTS.tradefed-run-collect-tests-only' 8 ATTRIBUTES = 'suite:gts' 9 DEPENDENCIES = 'arc' 10 JOB_RETRIES = 2 11 TEST_TYPE = 'server' 12 TIME = 'LENGTHY' 13 14 DOC = ('Run tradefed to collect all of the available GTS tests for this device.') 15 16 def run_GTS(machine): 17 host = hosts.create_host(machine) 18 job.run_test( 19 'cheets_GTS', 20 host=host, 21 iterations=1, 22 tag='tradefed-run-collect-tests-only', 23 gts_tradefed_args = ['run', 'commandAndExit', 'collect-tests-only'], 24 timeout=600) 25 26 parallel_simple(run_GTS, machines) 27