This looks like the actual path under which the builder looks for LLDB headers, so...
authorEnrico Granata <egranata@apple.com>
Mon, 27 Oct 2014 20:31:12 +0000 (20:31 +0000)
committerEnrico Granata <egranata@apple.com>
Mon, 27 Oct 2014 20:31:12 +0000 (20:31 +0000)
llvm-svn: 220718

lldb/test/lldbtest.py

index ed11ef8..c19dfc7 100644 (file)
@@ -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: