blob: dc4553f4be80c785414bc415d5d25b9654ac43f3 [file] [log] [blame]
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
AUTHOR = "Chrome OS Team"
NAME = "dummy"
PURPOSE = "To be run while testing the infrastructure and test harness."
CRITERIA = "None."
TIME = "SHORT"
TEST_CATEGORY = "Dummy"
TEST_CLASS = "suite"
TEST_TYPE = "Server"
DOC = """
This is a dummy test suite. It runs dummy tests that always pass or always fail
so that we can test result gathering and reporting mechanisms.
"""
import common
from autotest_lib.server.cros import dynamic_suite
suite_tag = 'dummy'
reimager = dynamic_suite.Reimager(job.autodir)
if (reimager.skip(globals()) or
reimager.attempt(image_name, 4, board, job.record)):
bvt = dynamic_suite.Suite.create_from_name(suite_tag, job.autodir)
bvt.run_and_wait(image_name, job.record, add_experimental=True)