[Test Suite] Attempt to fix issue zturner reported to me
authorChris Bieneman <beanz@apple.com>
Tue, 8 Nov 2016 17:53:18 +0000 (17:53 +0000)
committerChris Bieneman <beanz@apple.com>
Tue, 8 Nov 2016 17:53:18 +0000 (17:53 +0000)
Not sure why this didn't explode more massively, but this should fix the issue with the non-framework tests.

llvm-svn: 286254

lldb/packages/Python/lldbsuite/test/lldbtest.py

index 924bac2..89482e2 100644 (file)
@@ -1864,7 +1864,7 @@ class TestBase(Base):
         if self.hasDarwinFramework():
             include_stmt = "'#include <%s>' % os.path.join('LLDB', header)"
         else:
-            include_stmt = "'#include <%s>' % os.path.join(public_api_dir, header)"
+            include_stmt = "'#include <%s>' % os.path.join(" + public_api_dir + ", header)"
         list = [eval(include_stmt) for header in public_headers if (
             header.startswith("SB") and header.endswith(".h"))]
         includes = '\n'.join(list)