Skip to content

Commit

Permalink
[lldb] Skip TestSwiftAsyncSteppingManyTasks when clangimporter=false
Browse files Browse the repository at this point in the history
This configuration on the bots causes the OS plugin to not be loaded
properly. Disabling the test while we investigate.

```
File "/Users/ec2-user/jenkins/workspace/swift-PR-macos/branch-main/llvm-project/lldb/test/API/lang/swift/async/stepping/step_over_lots_of_tasks/TestSwiftAsyncSteppingManyTasks.py", line 61, in test_step_over_top_level_fibonacci
    self.assertEqual(process.GetSelectedThread(), thread_in_fib)
AssertionError: thread swiftlang#1: tid = 0x66b91b, queue = 'com.apple.main-thread' != No value
Config=x86_64-/Users/ec2-user/jenkins/workspace/swift-PR-macos/branch-main/build/buildbot_incremental/llvm-macosx-x86_64/bin/clang
```

Note how the TID is not that of a swift task.
  • Loading branch information
felipepiovezan committed Feb 12, 2025
1 parent 47665e0 commit 1c95cc7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@


@skipIfAsan # rdar://138777205
@skipIf(setting=('symbols.use-swift-clangimporter', 'false'))
class TestCase(lldbtest.TestBase):

def check_is_in_line(self, thread, expected_linenum, expected_tid):
Expand Down

0 comments on commit 1c95cc7

Please sign in to comment.