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

Merge remote-tracking branch 'apahim/bug_remote_no_copy'

...@@ -462,12 +462,16 @@ class Job(object): ...@@ -462,12 +462,16 @@ class Job(object):
self._setup_job_results() self._setup_job_results()
self.__start_job_logging() self.__start_job_logging()
try: if (getattr(self.args, 'remote_hostname', False) and
self.test_suite = self._make_test_suite(self.urls) getattr(self.args, 'remote_no_copy', False)):
except loader.LoaderError as details: self.test_suite = [(None, {})]
stacktrace.log_exc_info(sys.exc_info(), 'avocado.app.debug') else:
self._remove_job_results() try:
raise exceptions.OptionValidationError(details) 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) 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.
先完成此消息的编辑!
想要评论请 注册