[Lldb-commits] [lldb] r286254 - [Test Suite] Attempt to fix issue zturner reported to me

Chris Bieneman via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 8 09:53:18 PST 2016


Author: cbieneman
Date: Tue Nov  8 11:53:18 2016
New Revision: 286254

URL: http://llvm.org/viewvc/llvm-project?rev=286254&view=rev
Log:
[Test Suite] Attempt to fix issue zturner reported to me

Not sure why this didn't explode more massively, but this should fix the issue with the non-framework tests.

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py?rev=286254&r1=286253&r2=286254&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py Tue Nov  8 11:53:18 2016
@@ -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)




More information about the lldb-commits mailing list