Hello @rsmith,
This commit broke the 53 lldb tests. For example:
======================================================================
FAIL: test_with_dwarf_and_run_command
(TestDataFormatterSynthVal.DataFormatterSynthValueTestCase)
Test using Python synthetic children provider to provide a value.
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/lldbtest.py",
line 653, in wrapper
func(*args, **kwargs)
File
"/Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/lldbtest.py",
line 543, in wrapper
func(*args, **kwargs)
File
"/Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/lldbtest.py",
line 479, in wrapper
return func(self, *args, **kwargs)
File
"/Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py",
line 31, in test_with_dwarf_and_run_command
self.data_formatter_commands()
File
"/Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py",
line 96, in data_formatter_commands
self.expect("expression struct S { myInt theInt{12}; }; S()", substrs =
['(theInt = 12)'])
File
"/Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/lldbtest.py",
line 2082, in expect
self.runCmd(str, msg=msg, trace = (True if trace else False), check = not
error, inHistory=inHistory)
File
"/Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/lldbtest.py",
line 2008, in runCmd
msg if msg else CMD_MSG(cmd))
AssertionError: False is not True : Command 'expression struct S { myInt
theInt{12}; }; S()' returns successfully
Config=x86_64-clang
======================================================================
FAIL: test_eval_index_variable
(TestIndexVariable.NonOverlappingIndexVariableCase)
Test expressions of variable 'i' which appears in two for loops.
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py",
line 23, in test_eval_index_variable
self.eval_index_variable_i(self.exe_name)
File
"/Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py",
line 41, in eval_index_variable_i
self.runCmd('expr ptr[0]->point.x')
File
"/Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/lldbtest.py",
line 2008, in runCmd
msg if msg else CMD_MSG(cmd))
AssertionError: False is not True : Command 'expr ptr[0]->point.x' returns
successfully
Config=x86_64-clang
======================================================================
FAIL: test_with_dwarf_and_expr_parser (TestClassTypes.ClassTypesTestCase)
Test 'frame variable this' and 'expr this' when stopped inside a
constructor.
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/lldbtest.py",
line 479, in wrapper
return func(self, *args, **kwargs)
File
"/Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/lang/cpp/class_types/TestClassTypes.py",
line 61, in test_with_dwarf_and_expr_parser
self.class_types_expr_parser()
File
"/Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/lang/cpp/class_types/TestClassTypes.py",
line 215, in class_types_expr_parser
self.runCmd("expr m_c_int")
File
"/Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/lldbtest.py",
line 2008, in runCmd
msg if msg else CMD_MSG(cmd))
AssertionError: False is not True : Command 'expr m_c_int' returns
successfully
Config=x86_64-clang
======================================================================
FAIL: test_float_type_with_dwarf (TestFloatTypesExpr.FloatTypesExprTestCase)
Test that float-type variable expressions are evaluated correctly.
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/lldbtest.py",
line 479, in wrapper
return func(self, *args, **kwargs)
File
"/Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/types/TestFloatTypesExpr.py",
line 40, in test_float_type_with_dwarf
self.build_and_run_expr('float.cpp', set(['float']), dsym=False)
File
"/Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/types/AbstractBase.py",
line 66, in build_and_run_expr
self.build_and_run_with_source_atoms_expr(source, atoms, expr=True,
dsym=dsym, bc=bc, qd=qd)
File
"/Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/types/AbstractBase.py",
line 80, in build_and_run_with_source_atoms_expr
self.generic_type_expr_tester(self.exe_name, atoms, blockCaptured=bc,
quotedDisplay=qd)
File
"/Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/types/AbstractBase.py",
line 236, in generic_type_expr_tester
self.runCmd("expression %s" % var)
File
"/Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/lldbtest.py",
line 2008, in runCmd
msg if msg else CMD_MSG(cmd))
AssertionError: False is not True : Command 'expression a_class_ptr->m_a'
returns successfully
Config=x86_64-clang
USERS
rsmith (Author)
http://reviews.llvm.org/rL232793
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits