Home | History | Annotate | Download | only in cheets_CTS_N
      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 # TODO Integrate these changes back into cts_N as soon as partners have a
      6 # chance to configure their DUT's correctly and documentation is complete.
      7 
      8 AUTHOR = 'ARC++ Team'
      9 NAME = 'cheets_CTS_N.arm.CtsSecurityHostTestCasesPreconditions'
     10 ATTRIBUTES = 'suite:cts_N_Pre'
     11 DEPENDENCIES = 'arc'
     12 JOB_RETRIES = 2
     13 TEST_TYPE = 'server'
     14 TIME = 'LENGTHY'
     15 
     16 DOC = ('Run module CtsSecurityHostTestCases of the '
     17        'Android 7.1_r6 Compatibility Test Suite (CTS), build 4009365,'
     18        'using arm ABI in the ARC++ container.')
     19 
     20 def run_CTS(machine):
     21     host = hosts.create_host(machine)
     22     job.run_test(
     23         'cheets_CTS_N',
     24         host=host,
     25         iterations=1,
     26         max_retry=3,
     27         needs_push_media=False,
     28         tag='CtsSecurityHostTestCases',
     29         target_module='CtsSecurityHostTestCases',
     30         bundle='arm',
     31         warn_on_test_retry=False,
     32         timeout=5400,
     33         pre_condition_commands=[
     34            'echo 3 > /proc/sys/kernel/perf_event_paranoid'
     35         ])
     36 
     37 parallel_simple(run_CTS, machines)
     38