Skip to content
  • Johnny Chen's avatar
    LLDB test suite should also output the config info string along with the stack trace. · c9cb71a0
    Johnny Chen authored
    rdar://problem/11283401
    
    Example:
    
    Collected 1 test
    
    1: test_with_dwarf (TestCallStdStringFunction.ExprCommandCallFunctionTestCase)
       Test calling std::String member function. ... FAIL
    
    ======================================================================
    FAIL: test_with_dwarf (TestCallStdStringFunction.ExprCommandCallFunctionTestCase)
       Test calling std::String member function.
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/Volumes/data/lldb/svn/ToT/test/lldbtest.py", line 427, in wrapper
        return func(self, *args, **kwargs)
      File "/Volumes/data/lldb/svn/ToT/test/expression_command/call-function/TestCallStdStringFunction.py", line 34, in test_with_dwarf
        self.call_function()
      File "/Volumes/data/lldb/svn/ToT/test/expression_command/call-function/TestCallStdStringFunction.py", line 48, in call_function
        substrs = ['Hello world'])
      File "/Volumes/data/lldb/svn/ToT/test/lldbtest.py", line 1235, in expect
        msg if msg else EXP_MSG(str, exe))
    AssertionError: False is not True : 'Hello world' returns expected result
    Config=i386-clang
    ----------------------------------------------------------------------
    Ran 1 test in 1.148s
    
    FAILED (failures=1)
    
    llvm-svn: 155157
    c9cb71a0
Loading