[lldb-dev] [Bug 24282] New: test_with_dwarf_formatters_api (TestFormattersSBAPI.SBFormattersAPITestCase) failing on FreeBSD

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jul 27 12:13:19 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=24282

            Bug ID: 24282
           Summary: test_with_dwarf_formatters_api
                    (TestFormattersSBAPI.SBFormattersAPITestCase) failing
                    on FreeBSD
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at cs.uiuc.edu
          Reporter: emaste at freebsd.org
    Classification: Unclassified

excerpt from debug testrun log:

output: (Empty1) e1 = I am an empty Empty1 {}


python2.7 SBCommandReturnObject(0x8023fe500)::GetOutput () => "(Empty1) e1 = I
am an empty Empty1 {}
"
Expecting sub string: I am an empty Empty1 {}
Matched

python2.7 SBCommandInterpreter(0x804548200)::HandleCommand (command="frame
variable e2", SBCommandReturnObject(0x8023fe500), add_to_history=0)
python2.7 SBCommandReturnObject(0x8023fe500)::GetOutput () => "(Empty2) e2 = {}
"
python2.7 SBCommandInterpreter(0x804548200)::HandleCommand (command="frame
variable e2", SBCommandReturnObject(0x8023fe500): Status:  Success
Output Message:
(Empty2) e2 = {}
, add_to_history=0) => 2
python2.7 SBCommandReturnObject(0x8023fe500)::GetOutput () => "(Empty2) e2 = {}
"
runCmd: frame variable e2
output: (Empty2) e2 = {}


python2.7 SBCommandReturnObject(0x8023fe500)::GetOutput () => "(Empty2) e2 = {}
"
Expecting sub string: I am an empty Empty2
Not matched

FAILURE

FAIL: test_with_dwarf_formatters_api
(TestFormattersSBAPI.SBFormattersAPITestCase)
   Test Python APIs for working with formatters
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tank/emaste/src/llvm/tools/lldb/test/lldbtest.py", line 483, in
wrapper
    return func(self, *args, **kwargs)
  File "/tank/emaste/src/llvm/tools/lldb/test/lldbtest.py", line 551, in
wrapper
    return func(self, *args, **kwargs)
  File
"/tank/emaste/src/llvm/tools/lldb/test/python_api/formatters/TestFormattersSBAPI.py",
line 28, in test_with_dwarf_formatters_api
    self.formatters()
  File
"/tank/emaste/src/llvm/tools/lldb/test/python_api/formatters/TestFormattersSBAPI.py",
line 306, in formatters
    self.expect("frame variable e2", substrs=["I am an empty Empty2"])
  File "/tank/emaste/src/llvm/tools/lldb/test/lldbtest.py", line 2599, in
expect
    msg if msg else EXP_MSG(str, exe))
AssertionError: False is not True : 'I am an empty Empty2' returns expected
result
Config=x86_64-/usr/bin/clang
----------------------------------------------------------------------
Ran 1 test in 0.792s

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20150727/895f049a/attachment.html>


More information about the lldb-dev mailing list