https://llvm.org/bugs/show_bug.cgi?id=23686
Bug ID: 23686 Summary: test_with_dwarf (TestCommandScript.CmdPythonTestCase) failing 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 ['dotest.py', '--executable', '/tank/emaste/src/llvm/build-nodebug/bin/lldb', '-C', '/usr/bin/clang', '-v', '-t', '-f', 'CmdPythonTestCase.test_with_dwarf'] ... runCmd: command source py_import output: python2.7 SBCommandReturnObject(0x801c27b80)::GetError () => "" python2.7 SBCommandInterpreter(0x801c6ae00)::HandleCommand (command="targetname", SBCommandReturnObject(0x801c27b80), add_to_history=0) python2.7 SBDebugger(0x801d0b800)::GetSelectedTarget () => SBTarget(0x0): No value python2.7 SBTarget(0x0)::GetExecutable () => SBFileSpec(0x80c15b700) python2.7 SBFileSpec(0x80c15b700)::GetFilename () => NULL Traceback (most recent call last): File "/tank/emaste/src/llvm/tools/lldb/test/functionalities/command_script/welcome.py", line 21, in __call__ print >>result, ('Current target ' + file.GetFilename()) TypeError: cannot concatenate 'str' and 'NoneType' objects python2.7 SBCommandInterpreter(0x801c6ae00)::HandleCommand (command="targetname", SBCommandReturnObject(0x801c27b80): Status: Success, add_to_history=0) => 1 python2.7 SBCommandReturnObject(0x801c27b80)::GetOutput () => "" runCmd: targetname check of return status not required output: python2.7 SBCommandReturnObject(0x801c27b80)::GetError () => "" FAILURE os command: gmake clean with pid: 50310 stdout: rm -f "a.out" main.o main.d main.d.tmp stderr: retcode: 0 Restore dir to: /tank/emaste/src/llvm/tools/lldb/test ====================================================================== FAIL: test_with_dwarf (TestCommandScript.CmdPythonTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tank/emaste/src/llvm/tools/lldb/test/lldbtest.py", line 516, in wrapper return func(self, *args, **kwargs) File "/tank/emaste/src/llvm/tools/lldb/test/functionalities/command_script/TestCommandScript.py", line 23, in test_with_dwarf self.pycmd_tests () File "/tank/emaste/src/llvm/tools/lldb/test/functionalities/command_script/TestCommandScript.py", line 29, in pycmd_tests substrs = ['a.out'], matching=False, error=True) File "/tank/emaste/src/llvm/tools/lldb/test/lldbtest.py", line 2368, in expect "Command '" + str + "' is expected to fail!") AssertionError: True is not False : Command 'targetname' is expected to fail! Config=x86_64-/usr/bin/clang ---------------------------------------------------------------------- Ran 1 test in 0.909s FAILED (failures=1) Session logs for test failures/errors/unexpected successes can be found in directory '2015-05-28-09_51_22' -- 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