提交 418a80f4 编写于 作者: L Lucas Meneghel Rodrigues

Merge pull request #733 from ldoktor/ui

avocado: Two UI improvements
......@@ -108,7 +108,9 @@ class Job(object):
if self.show_job_log:
if not self.silent:
output.add_console_handler(_TEST_LOGGER)
output.add_console_handler(logging.getLogger())
_TEST_LOGGER.setLevel(self.loglevel)
_TEST_LOGGER.propagate = False
self.test_dir = data_dir.get_test_dir()
self.test_index = 1
......
......@@ -655,7 +655,11 @@ class GDBSubProcess(object):
runtime.CURRENT_TEST.report_state()
runtime.CURRENT_TEST.paused_msg = ''
return self.create_and_wait_on_resume_fifo(fifo_path)
ret = self.create_and_wait_on_resume_fifo(fifo_path)
runtime.CURRENT_TEST.paused_msg = ("\rResuming ...")
runtime.CURRENT_TEST.report_state()
runtime.CURRENT_TEST.paused_msg = ''
return ret
def handle_fatal_signal(self, response):
script_path, fifo_path = self.generate_gdb_connect_sh()
......@@ -675,7 +679,11 @@ class GDBSubProcess(object):
runtime.CURRENT_TEST.report_state()
runtime.CURRENT_TEST.paused_msg = ''
return self.create_and_wait_on_resume_fifo(fifo_path)
ret = self.create_and_wait_on_resume_fifo(fifo_path)
runtime.CURRENT_TEST.paused_msg = ("\rResuming ...")
runtime.CURRENT_TEST.report_state()
runtime.CURRENT_TEST.paused_msg = ''
return ret
def _is_thread_stopped(self):
result = False
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册