提交 6520a8fb 编写于 作者: C Cleber Rosa

Do not update the latest job link when doing a dry-run

Since the job log result directory will not exit, let's not create
the utility link "latest" to it.
Signed-off-by: NCleber Rosa <crosa@redhat.com>
上级 069e3784
......@@ -480,7 +480,7 @@ class Job(object):
self.args.test_result_total = mux.get_number_of_tests(test_suite)
self._make_test_result()
if not self.standalone:
if not (self.standalone or getattr(self.args, "dry_run", False)):
self._update_latest_link()
self._make_test_runner()
self._start_sysinfo()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册