[Lldb-commits] [lldb] r220718 - This looks like the actual path under which the builder looks for LLDB headers, so use this path instead

Enrico Granata egranata at apple.com
Mon Oct 27 13:31:12 PDT 2014


Author: enrico
Date: Mon Oct 27 15:31:12 2014
New Revision: 220718

URL: http://llvm.org/viewvc/llvm-project?rev=220718&view=rev
Log:
This looks like the actual path under which the builder looks for LLDB headers, so use this path instead

Modified:
    lldb/trunk/test/lldbtest.py

Modified: lldb/trunk/test/lldbtest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lldbtest.py?rev=220718&r1=220717&r2=220718&view=diff
==============================================================================
--- lldb/trunk/test/lldbtest.py (original)
+++ lldb/trunk/test/lldbtest.py Mon Oct 27 15:31:12 2014
@@ -565,8 +565,8 @@ def skipIfNoSBHeaders(func):
     def wrapper(*args, **kwargs):
         from unittest2 import case
         self = args[0]
+        header = os.path.join(self.lib_dir, 'LLDB.framework', 'Versions','Current','Headers','LLDB.h')
         platform = sys.platform
-        header = os.path.join(os.environ["LLDB_SRC"], "include", "lldb", "API", "LLDB.h")
         if not os.path.exists(header):
             self.skipTest("skip because LLDB.h header not found")
         else:





More information about the lldb-commits mailing list