[Lldb-commits] [PATCH] D13124: test runner: switch to pure-Python timeout mechanism
Zachary Turner via lldb-commits
lldb-commits at lists.llvm.org
Mon Sep 28 11:32:01 PDT 2015
This is what I get.
d:\src\llvm\tools\lldb\test>cd test_runner
d:\src\llvm\tools\lldb\test\test_runner>cd test
d:\src\llvm\tools\lldb\test\test_runner\test>c:\Python27_LLDB\x86\python_d.exe
process_control_tests.py
..E.EE
======================================================================
ERROR: test_hard_timeout_works (__main__.ProcessControlTimeoutTests)
Driver falls back to hard terminate when soft terminate is ignored.
----------------------------------------------------------------------
Traceback (most recent call last):
File "process_control_tests.py", line 177, in test_hard_timeout_works
options="--sleep 120"),
File "process_control_tests.py", line 83, in inferior_command
cls._suppress_soft_terminate(command)
File "process_control_tests.py", line 70, in _suppress_soft_terminate
for signum in helper.soft_terminate_signals():
TypeError: 'NoneType' object is not iterable
======================================================================
ERROR: test_soft_timeout_works_core (__main__.ProcessControlTimeoutTests)
Driver uses soft terminate (with core request) when process times out.
----------------------------------------------------------------------
Traceback (most recent call last):
File "process_control_tests.py", line 157, in test_soft_timeout_works_core
self._soft_timeout_works(True)
File "process_control_tests.py", line 150, in _soft_timeout_works
helper.was_soft_terminate(driver.returncode, with_core),
File "..\lib\process_control.py", line 192, in was_soft_terminate
raise Exception("platform needs to implement")
Exception: platform needs to implement
======================================================================
ERROR: test_soft_timeout_works_no_core (__main__.ProcessControlTimeoutTests)
Driver uses soft terminate (no core request) when process times out.
----------------------------------------------------------------------
Traceback (most recent call last):
File "process_control_tests.py", line 162, in
test_soft_timeout_works_no_core
self._soft_timeout_works(False)
File "process_control_tests.py", line 150, in _soft_timeout_works
helper.was_soft_terminate(driver.returncode, with_core),
File "..\lib\process_control.py", line 192, in was_soft_terminate
raise Exception("platform needs to implement")
Exception: platform needs to implement
----------------------------------------------------------------------
Ran 6 tests in 10.351s
FAILED (errors=3)
[37558 refs]
Looking into these now.
On Mon, Sep 28, 2015 at 11:18 AM Todd Fiala <todd.fiala at gmail.com> wrote:
> tfiala added a comment.
>
> In http://reviews.llvm.org/D13124#254950, @zturner wrote:
>
> > Sorry, ignore me. My brain is just off, it's working
>
>
> Okay, cool. Yeah I can update it if needed, I think I saw a 1-line
> dosep.py go in between my last update late last night and early this
> morning. But it sounds like you made it past there.
>
>
> http://reviews.llvm.org/D13124
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150928/ddfeeb82/attachment.html>
More information about the lldb-commits
mailing list