LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 26937 - TestRegisterVariables failing with Clang 3.4.1 on FreeBSD
Summary: TestRegisterVariables failing with Clang 3.4.1 on FreeBSD
Status: RESOLVED FIXED
Alias: None
Product: lldb
Classification: Unclassified
Component: All Bugs (show other bugs)
Version: unspecified
Hardware: PC FreeBSD
: P normal
Assignee: LLDB commit list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-14 10:00 PDT by emaste
Modified: 2020-12-07 02:31 PST (History)
2 users (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description emaste 2016-03-14 10:00:39 PDT
FAIL: LLDB (/usr/bin/clang-x86_64) :: test_and_run_command_dwarf (TestRegisterVariables.RegisterVariableTestCase)
======================================================================
FAIL: test_and_run_command_dwarf (TestRegisterVariables.RegisterVariableTestCase)
   Test expressions on register values.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tank/emaste/src/llvm/tools/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1457, in dwarf_test_method
    return attrvalue(self)
  File "/tank/emaste/src/llvm/tools/lldb/packages/Python/lldbsuite/test/decorators.py", line 94, in wrapper
    func(*args, **kwargs)
  File "/tank/emaste/src/llvm/tools/lldb/packages/Python/lldbsuite/test/decorators.py", line 94, in wrapper
    func(*args, **kwargs)
  File "/tank/emaste/src/llvm/tools/lldb/packages/Python/lldbsuite/test/decorators.py", line 94, in wrapper
    func(*args, **kwargs)
  File "/tank/emaste/src/llvm/tools/lldb/packages/Python/lldbsuite/test/lang/c/register_variables/TestRegisterVariables.py", line 69, in test_and_run_command
    substrs = ['(int) $3 = 5'])
  File "/tank/emaste/src/llvm/tools/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1845, in expect
    self.runCmd(str, msg=msg, trace = (True if trace else False), check = not error, inHistory=inHistory)
  File "/tank/emaste/src/llvm/tools/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1771, in runCmd
    msg if msg else CMD_MSG(cmd))
AssertionError: False is not True : Variable(s) displayed correctly
Config=x86_64-/usr/bin/clang
----------------------------------------------------------------------
Ran 1 test in 1.134s

RESULT: FAILED (0 passes, 1 failures, 0 errors, 0 skipped, 0 expected failures, 0 unexpected successes)
Comment 1 emaste 2016-03-14 14:00:06 PDT
Changed to XFAIL for all Clang versions in r263467
Comment 2 Michał Górny 2020-12-07 02:31:36 PST
I see it's restricted to old clang today, and it passes for me on 13.0.