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

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 8 10:28:27 PST 2016


Was just about to comment on this.  Thanks!

On Tue, Nov 8, 2016 at 10:24 AM Chris Bieneman via lldb-commits <
lldb-commits at lists.llvm.org> wrote:

> 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)
>
>
> _______________________________________________
> lldb-commits mailing list
> lldb-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20161108/85dce674/attachment.html>


More information about the lldb-commits mailing list