Skip to content

Commit c8a2ab6

Browse files
authored
[gha] enable test case name logging (#188)
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.
1 parent 532ad06 commit c8a2ab6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,7 @@ jobs:
509509
--excluded ${{ github.workspace }}/SourceCache/ds2/Support/Testing/Excluded/upstream/linux-${{ matrix.arch }}.excluded \
510510
--excluded ${{ github.workspace }}/SourceCache/ds2/Support/Testing/Excluded/ds2/linux-${{ matrix.arch }}.excluded \
511511
--excluded ${{ github.workspace }}/SourceCache/ds2/Support/Testing/Excluded/upstream/non-debugserver-tests.excluded \
512+
-v \
512513
${{ matrix.test-subdirs }}
513514
514515
test-android-x86:
@@ -663,4 +664,5 @@ jobs:
663664
--excluded ${{ github.workspace }}/SourceCache/ds2/Support/Testing/Excluded/ds2/android-${{ matrix.llvm-arch }}.excluded
664665
--excluded ${{ github.workspace }}/SourceCache/ds2/Support/Testing/Excluded/upstream/android-${{ matrix.llvm-arch }}.excluded
665666
--excluded ${{ github.workspace }}/SourceCache/ds2/Support/Testing/Excluded/upstream/non-debugserver-tests.excluded
667+
-v
666668
${{ matrix.test-subdirs }}

0 commit comments

Comments
 (0)