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@cs.uiuc.edu Reporter: ema...@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.
_______________________________________________ lldb-dev mailing list lldb-dev@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev