Lines Matching refs:mytest
60 def wrapper(self, mytest): argument
71 func(self, mytest, host, at, outputdir)
75 if mytest.disable_sysinfo_install_cache:
159 def _pull_sysinfo_keyval(self, host, outputdir, mytest): argument
163 host.get_file(os.path.join(outputdir, "sysinfo"), mytest.outputdir)
171 mytest.write_test_keyval(keyval)
176 def before_hook(self, mytest, host, at, outputdir): argument
178 logging.debug('before_hook starts running for test %r.', mytest)
188 def before_iteration_hook(self, mytest, host, at, outputdir): argument
192 mytest)
196 (outputdir, 'log_before_each_iteration', mytest.iteration,
207 def after_iteration_hook(self, mytest, host, at, outputdir): argument
210 mytest)
214 (outputdir, 'log_after_each_iteration', mytest.iteration,
225 def after_hook(self, mytest, host, at, outputdir): argument
226 logging.debug('after_hook starts running for test %r.', mytest)
229 at.run(_sysinfo_after_test_script % (outputdir, mytest.success),
232 self._pull_sysinfo_keyval(host, outputdir, mytest)
287 def log_kernel_hook(mytest, existing_hook=logging_args[0]): argument
288 if mytest.host_parameter:
289 host = dargs[mytest.host_parameter]
294 existing_hook(mytest)