1# Copyright (c) 2010 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 = "dummy_Fail" 7PURPOSE = "Demonstrate failure methods of autotests." 8CRITERIA = "This test will never succeed." 9ATTRIBUTES = ( 10 "suite:another_suite, suite:dummy, suite:push_to_prod," 11 " suite:skylab_staging_test, suite:dev_drone_image_test" 12) 13TIME = "SHORT" 14TEST_CATEGORY = "General" 15TEST_CLASS = "dummy" 16TEST_TYPE = "client" 17JOB_RETRIES = 1 18 19DOC = """ 20This is a helper test that will fail in a number of ways. 21""" 22 23job.run_test('dummy_Fail', tag='Error', to_throw='TestError') 24job.run_test('dummy_Fail', tag='Fail', to_throw='TestFail') 25job.run_test('dummy_Fail', tag='Warn', to_throw='TestWarn') 26job.run_test('dummy_Fail', tag='NAError', to_throw='TestNAError') 27job.run_test('dummy_Fail', tag='Crash', to_throw=None) 28 29