未验证 提交 23038ce4 编写于 作者: C Cleber Rosa

Merge remote-tracking branch 'apahim/bug_remote_no_copy'

......@@ -462,12 +462,16 @@ class Job(object):
self._setup_job_results()
self.__start_job_logging()
try:
self.test_suite = self._make_test_suite(self.urls)
except loader.LoaderError as details:
stacktrace.log_exc_info(sys.exc_info(), 'avocado.app.debug')
self._remove_job_results()
raise exceptions.OptionValidationError(details)
if (getattr(self.args, 'remote_hostname', False) and
getattr(self.args, 'remote_no_copy', False)):
self.test_suite = [(None, {})]
else:
try:
self.test_suite = self._make_test_suite(self.urls)
except loader.LoaderError as details:
stacktrace.log_exc_info(sys.exc_info(), 'avocado.app.debug')
self._remove_job_results()
raise exceptions.OptionValidationError(details)
self.job_pre_post_dispatcher.map_methods('pre', self)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册