blob: 903b967659aae5224de22673203b8038e0ec0605 [file] [log] [blame]
Peter Mayoc3793d32012-06-14 15:12:06 -04001# Copyright (c) 2012 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 = "Chrome OS Team"
6NAME = "PGO_record"
7PURPOSE = "Exercise Chrome, record profiling data."
8CRITERIA = "The browser should do a reasnoable amout, upload must succeed"
9
10TIME = "LONG"
11TEST_CATEGORY = "General"
12TEST_CLASS = "suite"
13TEST_TYPE = "Server"
14
15DOC = """
16Exercise Chrome, record profiling data.
17
18The image should have been built with pgo_generate turned on for chrome.
19We do this to make branch prediction etc. data driven in future optimizations
20of chrome builds, so realism and source control are important.
21
22Mostly we are just wrapping the labelled tests here.
23
24@param build: The name of the image to test.
25 Ex: x86-mario-release/R17-1412.33.0-a1-b29
26@param board: The board to test on. Ex: x86-mario
27@param pool: The pool of machines to utilize for scheduling. If pool=None
28 board is used.
29@param check_hosts: require appropriate live hosts to exist in the lab.
30"""
31
32import common
Chris Masone304d78d2012-08-15 20:20:49 -070033from autotest_lib.server.cros.dynamic_suite import dynamic_suite
Peter Mayoc3793d32012-06-14 15:12:06 -040034
beeps735b3c02013-04-28 23:53:44 -070035
36# Values specified in this bug template will override default values when
37# filing bugs on tests that are a part of this suite. If left unspecified
38# the bug filer will fallback to it's defaults.
39_BUG_TEMPLATE = {
40 'labels': ['Hardware-Lab'],
41 'owner': '',
42 'status': None,
43 'summary': None,
44 'title': None,
beeps84e7bb42013-05-31 12:00:06 -070045 'cc': ['davidjames@chromium.org', 'asharif@chromium.org',
46 'bjanakiraman@chromium.org', 'scottz@chromium.org',
47 'beeps@chromium.org', 'dennisjeffrey@chromium.org']
beeps735b3c02013-04-28 23:53:44 -070048}
49
Peter Mayoc3793d32012-06-14 15:12:06 -040050dynamic_suite.reimage_and_run(
51 build=build, board=board, name='PGO_record', job=job, pool=pool,
Scott Zawalskic0cb0e42012-08-10 11:58:56 -040052 check_hosts=check_hosts, add_experimental=True, num=num,
Dan Shi0d8fcfa2013-06-10 12:50:16 -070053 file_bugs=True, skip_reimage=False, bug_template=_BUG_TEMPLATE,
54 devserver_url=devserver_url)