[Lldb-commits] [lldb] r286258 - [Test Suite] Properly quote python string

Chris Bieneman via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 8 10:14:43 PST 2016


Author: cbieneman
Date: Tue Nov  8 12:14:42 2016
New Revision: 286258

URL: http://llvm.org/viewvc/llvm-project?rev=286258&view=rev
Log:
[Test Suite] Properly quote python string

Oops!

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=286258&r1=286257&r2=286258&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py Tue Nov  8 12:14:42 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