[Lldb-commits] [PATCH] Fix darwin-debug build in cmake (OS X)

Ilia K ki.stfu at gmail.com
Wed Jan 21 10:53:48 PST 2015


Fix build of darwin-debug in cmake on OS X. Currently it works in XCode.

This patch fixes test_launch_in_terminal test which doesn't work in OS X since the moment as it was added in r225284. The test fails because Target::Launch returns the following error: "the 'darwin-debug' executable doesn't exists at '/Users/IliaK/p/llvm/build_ninja/lib/python2.7/site-packages/lldb/darwin-debug'".

```
Log:
======================================================================
FAIL: test_launch_in_terminal (TestTerminal.LaunchInTerminalTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/IliaK/p/llvm/tools/lldb/test/functionalities/tty/TestTerminal.py", line 36, in test_launch_in_terminal
    self.assertTrue(error.Success(), "Make sure launch happened successfully in a terminal window")
AssertionError: False is not True : Make sure launch happened successfully in a terminal window
Config=x86_64-clang
```

For more information see following thread: http://lists.cs.uiuc.edu/pipermail/lldb-commits/Week-of-Mon-20150119/014983.html

http://reviews.llvm.org/D7102

Files:
  scripts/Python/finish-swig-Python-LLDB.sh
  scripts/Python/finishSwigPythonLLDB.py
  tools/CMakeLists.txt
  tools/darwin-debug/CMakeLists.txt

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7102.18536.patch
Type: text/x-patch
Size: 4299 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150121/e0dff8be/attachment.bin>


More information about the lldb-commits mailing list