<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - TestDefaultConstructorForAPIObjects.py fails on some Macs"
   href="https://llvm.org/bugs/show_bug.cgi?id=23488">23488</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>TestDefaultConstructorForAPIObjects.py fails on some Macs
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>lldb-dev@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>vince@nethacker.com
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>======================================================================
ERROR: test_SBError
(TestDefaultConstructorForAPIObjects.APIDefaultConstructorTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/vharron/ll/tot/lldb/test/lldbtest.py", line 432, in wrapper
    return func(self, *args, **kwargs)
  File
"/Users/vharron/ll/tot/lldb/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py",
line 120, in test_SBError
    sb_error.fuzz_obj(obj)
  File
"/Users/vharron/ll/tot/lldb/test/python_api/default-constructor/sb_error.py",
line 19, in fuzz_obj
    obj.SetErrorStringWithFormat("%s!", "error")
TypeError: SetErrorStringWithFormat() takes exactly 2 arguments (3 given)
Config=x86_64-clang

FAILING MAC:

vharron-macbookpro:test vharron$ egrep SetErrorStringWithFormat
../scripts/interface/SBError.i 
    SetErrorStringWithFormat (const char *format, ...);

vharron-macbookpro:test vharron$ egrep -A2 SetErrorStringWithFormat
../DerivedData/lldb/Build/Products/Debug/lldb.py 
    def SetErrorStringWithFormat(self, format):
        """SetErrorStringWithFormat(SBError self, str const * format) -> int"""
        return _lldb.SBError_SetErrorStringWithFormat(self, format)

swig 3.0.5 from homebrew

PASSING MAC:
vharron-macpro3:test vharron$ egrep SetErrorStringWithFormat
../scripts/interface/SBError.i 
    SetErrorStringWithFormat (const char *format, ...);

vharron-macpro3:test vharron$ egrep -A2 SetErrorStringWithFormat
../DerivedData/lldb/Build/Products/Debug/lldb.py 
    def SetErrorStringWithFormat(self, *args):
        """SetErrorStringWithFormat(SBError self, str const * format) -> int"""
        return _lldb.SBError_SetErrorStringWithFormat(self, *args)

swig 3.0.2 from MacPorts?

BTW, this is working on Ubuntu w/Swig 2.0.11</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>