Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LLDB: test_target_modules_type fails on FreeBSD #56079

Open
mgorny opened this issue Jun 17, 2022 · 2 comments
Open

LLDB: test_target_modules_type fails on FreeBSD #56079

mgorny opened this issue Jun 17, 2022 · 2 comments

Comments

@mgorny
Copy link
Member

mgorny commented Jun 17, 2022

======================================================================
FAIL: test_target_modules_type (TestTargetCommand.targetCommandTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/home/mgorny/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 367, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/home/mgorny/llvm-project/lldb/test/API/commands/target/basic/TestTargetCommand.py", line 477, in test_target_modules_type
    self.expect("target modules lookup --type int",
  File "/usr/home/mgorny/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2395, in expect
    self.fail(log_msg)
AssertionError: Ran command:
"target modules lookup --type int"

Got output:
4 matches found in /home/mgorny/llvm-project/build/lldb-test-build.noindex/commands/target/basic/TestTargetCommand.test_target_modules_type/b.out:
id = {0x0000013b}, name = "int", byte-size = 4, compiler_type = "int"id = {0x000007ac}, name = "int", byte-size = 4, compiler_type = "int"id = {0x00000814}, name = "int", byte-size = 4, compiler_type = "int"id = {0x000008fa}, name = "int", byte-size = 4, compiler_type = "int"


Expecting sub string: "1 match found" (was not found)
Config=x86_64-/home/mgorny/llvm-project/build/bin/clang
@llvmbot
Copy link
Collaborator

llvmbot commented Jun 17, 2022

@llvm/issue-subscribers-lldb

@labath
Copy link
Collaborator

labath commented Jun 23, 2022

Could this be because you have debug info for some of the code that gets linked in to the application (crt_begin and friends). The test probably needs to be relaxed to account for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants