[lldb-dev] [Bug 21620] New: SB API GetValueDidChange() returns false although value did change, on FreeBSD
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Nov 20 10:44:27 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=21620
Bug ID: 21620
Summary: SB API GetValueDidChange() returns false although
value did change, 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
FAIL: test_with_dwarf_and_process_launch_api
(TestValueVarUpdate.HelloWorldTestCase)
Test SBValue::GetValueDidChange
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tank/emaste/src/llvm/tools/lldb/test/lldbtest.py", line 331, in
wrapper
return func(self, *args, **kwargs)
File "/tank/emaste/src/llvm/tools/lldb/test/lldbtest.py", line 382, in
wrapper
return func(self, *args, **kwargs)
File
"/tank/emaste/src/llvm/tools/lldb/test/python_api/value_var_update/TestValueVarUpdate.py",
line 28, in test_with_dwarf_and_process_launch_api
self.do_test()
File
"/tank/emaste/src/llvm/tools/lldb/test/python_api/value_var_update/TestValueVarUpdate.py",
line 61, in do_test
self.assertTrue(i.GetValueDidChange(), "GetValueDidChange() is
saying a lie")
AssertionError: False is not True : GetValueDidChange() is saying a lie
Config=x86_64-/usr/bin/clang
The two assertions here are:
self.assertTrue(i_val != i.GetValueAsUnsigned(0), "GetValue()
is saying a lie")
self.assertTrue(i.GetValueDidChange(), "GetValueDidChange() is
saying a lie")
which is a bit odd: GetValueAsUnsigned shows that the variable's value
has been updated, but that's not reflected in GetValueDidChange. It
fails both with parallel tests (8 CPUs) and without parallelism.
However, if I invoke this test in isolation (though python dotest.py
-f ...) it passes.
--
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/20141120/448a1b57/attachment.html>
More information about the lldb-dev
mailing list