Home | History | Annotate | Download | only in test_suites
      1 # Copyright (c) 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 AUTHOR = "Harpreet Grewal <harpreet (a] chromium.org>"
      6 NAME = "longevity"
      7 PURPOSE = "Suite for automated longevity tests."
      8 
      9 TIME = "LONG"
     10 TEST_CATEGORY = "Functional"
     11 TEST_CLASS = "suite"
     12 TEST_TYPE = "server"
     13 
     14 DOC = """
     15 This suite runs the set of kiosk longevity tests on various devices in the lab.
     16 """
     17 
     18 import common
     19 from autotest_lib.server.cros import provision
     20 from autotest_lib.server.cros.dynamic_suite import dynamic_suite
     21 
     22 # Values specified in this bug template will override default values when
     23 # filing bugs on tests that are a part of this suite. If left unspecified
     24 # the bug filer will fallback to it's defaults.
     25 _BUG_TEMPLATE = {
     26     'labels': ['longevity', 'longevity-auto-bug'],
     27     'owner': '',
     28     'status': None,
     29     'summary': None,
     30     'title': None,
     31     'cc': ['kiosk-autotest-alerts (a] google.com']
     32 }
     33 
     34 args_dict['name'] = NAME
     35 args_dict['add_experimental'] = True
     36 args_dict['bug_template'] = _BUG_TEMPLATE
     37 args_dict['version_prefix'] = provision.CROS_VERSION_PREFIX
     38 args_dict['job'] = job
     39 
     40 dynamic_suite.reimage_and_run(**args_dict)
     41