Each test will timeout after 5 minutes by default.
Override the default timeout of 5 minutes with LLDB_TEST_TIMEOUT.
E.g., LLDB_TEST_TIMEOUT=10m
Override the timeout for individual tests with LLDB_[TEST NAME]_TIMEOUT.
E.g., LLDB_TESTCONCURRENTEVENTS_TIMEOUT=2m
Set to "0" to run without timeout.
Details
- Reviewers
sivachandra vharron ovyalov clayborg
Diff Detail
Event Timeline
I know this got reverted last time because it was causing some tests to timeout. I don't know what was causing that hang, but does this fix it?
Yes. When building using make instead of ninja, dotest requires stdin to be
piped. the stdin=subprocess.PIPE fixes it.
Minor comments.
test/dosep.py | ||
---|---|---|
43 | s/timeout_command/timeout_command is not None | |
46 | No need to have else statement here. | |
72 | You may get basename without extension using sth like this - os.path.basename(os.path.splitext(name)[0]) | |
72 | Could you store timeout as a separate variable to simplify this expression? | |
166 | You may make timed_out as set to speed up lookup here. |
s/timeout_command/timeout_command is not None