Re: [Lldb-commits] [lldb] r285542 - [Test Suite] Pull generateSource into lldbtest

2016-11-08 Thread Chris Bieneman via lldb-commits
Did a little post-patch (and post-fix) research. Looks like this is a difference between Py2 and Py3. It is well explained here: http://bugs.python.org/issue5242 Apparently eval only grabs locals and globals, and in Py3 list comprehensions have their own funct

Re: [Lldb-commits] [lldb] r285542 - [Test Suite] Pull generateSource into lldbtest

2016-11-08 Thread Chris Bieneman via lldb-commits
I pushed an attempted fix in r286254. I wonder if this is a difference between python 2.7 and 3. The comprehension should capture everything, as should the eval call. I wonder if one of those captures less in python 3 compared to python 2.7. Hopefully my patch will resolve the issue for you. -

Re: [Lldb-commits] [lldb] r285542 - [Test Suite] Pull generateSource into lldbtest

2016-11-08 Thread Zachary Turner via lldb-commits
On Sun, Oct 30, 2016 at 9:57 PM Chris Bieneman via lldb-commits < lldb-commits@lists.llvm.org> wrote: > > 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=285542&r1=285541&r2=28554

[Lldb-commits] [lldb] r285542 - [Test Suite] Pull generateSource into lldbtest

2016-10-30 Thread Chris Bieneman via lldb-commits
Author: cbieneman Date: Sun Oct 30 23:48:19 2016 New Revision: 285542 URL: http://llvm.org/viewvc/llvm-project?rev=285542&view=rev Log: [Test Suite] Pull generateSource into lldbtest Summary: Convert tests using LLDB headers to use generateSource to put the right include paths in place regardles