Skip to content

Commit 80eab1e

Browse files
Repeat test with proper tracing
1 parent 36cc1c6 commit 80eab1e

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/tests.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -291,10 +291,12 @@ jobs:
291291
source .token_helpers/set_data_track_test_tokens.bash
292292
# TMP: Mac crash debug - begin lldb wrapper
293293
if [[ "$RUNNER_OS" == "macOS" ]]; then
294-
lldb --batch \
295-
-o "run --gtest_repeat=10 --gtest_output=xml:build-release/integration-test-results.xml" \
296-
-o "thread backtrace all" \
297-
-- build-release/bin/livekit_integration_tests
294+
cat > macos-crash-debug.lldb <<'LLDB'
295+
settings set target.process.thread.step-avoid-regexp ^$
296+
run --gtest_repeat=15 --gtest_output=xml:build-release/integration-test-results.xml
297+
script process = lldb.debugger.GetSelectedTarget().GetProcess(); lldb.debugger.HandleCommand("thread backtrace all") if process and process.IsValid() and process.GetState() == lldb.eStateStopped else None
298+
LLDB
299+
lldb --batch -s macos-crash-debug.lldb -- build-release/bin/livekit_integration_tests
298300
else
299301
build-release/bin/livekit_integration_tests \
300302
--gtest_output=xml:build-release/integration-test-results.xml

0 commit comments

Comments
 (0)