Home
last modified time | relevance | path

Searched refs:to_throw (Results 1 – 4 of 4) sorted by relevance

/external/autotest/client/site_tests/dummy_Fail/
Ddummy_Fail.py17 def run_once(self, to_throw=None, retry_success_count=0): argument
30 if to_throw:
31 if to_throw == 'TestFail': logging.error('It is an error!')
32 raise getattr(error, to_throw)('always fail')
Dcontrol23 job.run_test('dummy_Fail', tag='Error', to_throw='TestError')
24 job.run_test('dummy_Fail', tag='Fail', to_throw='TestFail')
25 job.run_test('dummy_Fail', tag='Warn', to_throw='TestWarn')
26 job.run_test('dummy_Fail', tag='NAError', to_throw='TestNAError')
27 job.run_test('dummy_Fail', tag='Crash', to_throw=None)
Dcontrol.naerror17 job.run_test('dummy_Fail', tag='NAError', to_throw='TestNAError')
Dcontrol.dependency24 job.run_test('dummy_Fail', tag='Error', to_throw='TestError')