未验证 提交 6d13d014 编写于 作者: C Cleber Rosa

Merge remote-tracking branch 'clebergnu/job_run_fixes_selftests'

Signed-off-by: NCleber Rosa <crosa@redhat.com>
......@@ -77,12 +77,12 @@ class Runner(RunnerInterface):
else:
deadline = None
test_suite, _ = nrunner.check_tasks_requirements(test_suite)
job.result.tests_total = len(test_suite) # no support for variants yet
test_suite.tests, _ = nrunner.check_tasks_requirements(test_suite.tests)
job.result.tests_total = test_suite.size # no support for variants yet
result_dispatcher = job.result_events_dispatcher
no_digits = len(str(len(test_suite)))
for index, task in enumerate(test_suite, start=1):
for index, task in enumerate(test_suite.tests, start=1):
if deadline is not None and time.time() > deadline:
break
......
文件模式从 100644 更改为 100755
../../examples/jobs/nrunner.py
\ No newline at end of file
../../examples/jobs/passjob.py
\ No newline at end of file
../../examples/jobs/passjob_cit_varianter.py
\ No newline at end of file
../../examples/jobs/passjob_html.py
\ No newline at end of file
../../examples/jobs/sleepjob_dict_varianter.py
\ No newline at end of file
../../examples/jobs/sleepjob_json_varianter.py
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册