Skip to content

Conversation

@andrurogerz
Copy link
Collaborator

Add the -v option when running lldb-dotest so that the name of each test case is logged prior to running the test.

Example:

472: test_debugger_interrupt_use_dbg (TestDebuggerInterruption.TestDebuggerInterruption.test_debugger_interrupt_use_dbg) ... ok
PASS: LLDB (/home/runner/work/ds2/ds2/BinaryCache/llvm/bin/clang-i686) :: test_debugger_interrupt_use_dbg (TestDebuggerInterruption.TestDebuggerInterruption.test_debugger_interrupt_use_dbg)

This logging will help to identify test cases that occasionally hang so we can disable them.

@andrurogerz andrurogerz merged commit c8a2ab6 into compnerd:main Mar 3, 2025
35 checks passed
andrurogerz added a commit that referenced this pull request Mar 8, 2025
I caught this LLDB test case hanging on a test PR run:
https://github.com/compnerd/ds2/actions/runs/13686282742/job/38270586286

The logging enabled by #188 made it possible to determine the hanging
test case.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants