[Bug 23686] New: test_with_dwarf (TestCommandScript.CmdPythonTestCase) failing on FreeBSD

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 emaste@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

emaste@freebsd.org changed bug 23686

What | Removed | Added |

  • | - | - |
    Status | NEW | RESOLVED |
    Resolution | — | FIXED |
    Assignee | lldb-dev@cs.uiuc.edu | emaste@freebsd.org |

Comment # 6 on bug 23686 from emaste@freebsd.org

Fixed by r238441