Well, I have to copy use_lldb_suite.py into lldbsuite/test_event first. But then I get another error.
D:\src\llvm\tools\lldb\packages\Python\lldbsuite\test_event>c:\Python35\python.exe -m unittest discover -s test/src -p "Test*.py" FF ====================================================================== FAIL: test_with_function_filter (TestCatchInvalidDecorator.TestCatchInvalidDecorator) ---------------------------------------------------------------------- Traceback (most recent call last): File "D:\src\llvm\tools\lldb\packages\Python\lldbsuite\test_event\test\src\TestCatchInvalidDecorator.py", line 56, in test_with_function_filter "At least one job or test error result should have been returned") AssertionError: 0 not greater than 0 : At least one job or test error result should have been returned ====================================================================== FAIL: test_with_whole_file (TestCatchInvalidDecorator.TestCatchInvalidDecorator) ---------------------------------------------------------------------- Traceback (most recent call last): File "D:\src\llvm\tools\lldb\packages\Python\lldbsuite\test_event\test\src\TestCatchInvalidDecorator.py", line 37, in test_with_whole_file "At least one job or test error result should have been returned") AssertionError: 0 not greater than 0 : At least one job or test error result should have been returned On Fri, May 13, 2016 at 12:52 PM Todd Fiala <todd.fi...@gmail.com> wrote: > tfiala added a comment. > > In http://reviews.llvm.org/D20193#429903, @zturner wrote: > > > It can't find six, I guess because it's trying to run a script directly > > rather than loading it as part of a package, so it never runs `import > > use_lldb_suite`. > > > Ah of course. And this runs on OS X because six is part of the default > Python site installation. > > So an 'import use_lldb_suite' at the top of the event_collector file fixes > it for you? > > > http://reviews.llvm.org/D20193 > > > >
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits