<div dir="ltr">Huh,  your hypothesis might be correct.  The symlink of the python extension module pointing to liblldb is out of date, and not getting updated.  Never seen this happen before, but that sounds like it's probably the culprit.</div><br><div class="gmail_quote"><div dir="ltr">On Fri, Mar 18, 2016 at 2:49 PM Enrico Granata <<a href="mailto:egranata@apple.com">egranata@apple.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><blockquote type="cite"><div>On Mar 18, 2016, at 2:45 PM, Zachary Turner <<a href="mailto:zturner@google.com" target="_blank">zturner@google.com</a>> wrote:</div><br><div><div dir="ltr">Hi Enrico,<div><br></div><div>These tests are failing on Windows.  They're new tests so not really a regression, but do you have any idea what might be wrong?  Basically, when the test runs, the help po is displaying the full output of "help expression".  But strangely, if I go into lldb and run "help po" there, it's correct and the output would pass the test.</div><div><br></div><div>So something is different about running through the public api or running help inside of lldb</div></div><br></div></blockquote><div><br></div></div></div><div style="word-wrap:break-word"><div><div>This doesn’t seem to have much to do with “the public API” since it’s a lame plain old command-line test</div><div><br></div><div>Honestly, no, I am not sure what would be special about this on Windows. The only thing I can think of is that maybe - for whatever reason - the test suite is running against an older LLDB, but that seems fairly unlikely to go unnoticed, now does it?</div><div><br></div><div>Your best bet may be to put a sleep() call in the test case to give yourself a chance to attach with a debugger - and then step through the “help” code as things unfold</div></div></div><div style="word-wrap:break-word"><div><br><blockquote type="cite"><div><div class="gmail_quote"><div dir="ltr">On Mon, Mar 14, 2016 at 6:47 PM Enrico Granata via lldb-commits <<a href="mailto:lldb-commits@lists.llvm.org" target="_blank">lldb-commits@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: enrico<br>
Date: Mon Mar 14 20:43:00 2016<br>
New Revision: 263520<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=263520&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=263520&view=rev</a><br>
Log:<br>
Add some test coverage for the changes in alias help<br>
<br>
<br>
Modified:<br>
    lldb/trunk/packages/Python/lldbsuite/test/help/TestHelp.py<br>
<br>
Modified: lldb/trunk/packages/Python/lldbsuite/test/help/TestHelp.py<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/help/TestHelp.py?rev=263520&r1=263519&r2=263520&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/help/TestHelp.py?rev=263520&r1=263519&r2=263520&view=diff</a><br>
==============================================================================<br>
--- lldb/trunk/packages/Python/lldbsuite/test/help/TestHelp.py (original)<br>
+++ lldb/trunk/packages/Python/lldbsuite/test/help/TestHelp.py Mon Mar 14 20:43:00 2016<br>
@@ -167,6 +167,24 @@ class HelpCommandTestCase(TestBase):<br>
                         'variable +--'])<br>
<br>
     @no_debug_info_test<br>
+    def test_help_po_hides_options(self):<br>
+        """Test that 'help po' does not show all the options for expression"""<br>
+        self.expect("help po",<br>
+            substrs = ['--show-all-children', '--object-description'], matching=False)<br>
+<br>
+    @no_debug_info_test<br>
+    def test_help_run_hides_options(self):<br>
+        """Test that 'help run' does not show all the options for process launch"""<br>
+        self.expect("help run",<br>
+            substrs = ['--arch', '--environment'], matching=False)<br>
+<br>
+    @no_debug_info_test<br>
+    def test_help_next_shows_options(self):<br>
+        """Test that 'help next' shows all the options for thread step-over"""<br>
+        self.expect("help next",<br>
+            substrs = ['--python-class','--run-mode'], matching=True)<br>
+<br>
+    @no_debug_info_test<br>
     def test_help_provides_alternatives(self):<br>
         """Test that help on commands that don't exist provides information on additional help avenues"""<br>
         self.expect("help thisisnotadebuggercommand",<br>
<br>
<br>
_______________________________________________<br>
lldb-commits mailing list<br>
<a href="mailto:lldb-commits@lists.llvm.org" target="_blank">lldb-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits</a><br>
</blockquote></div>
</div></blockquote></div></div></blockquote></div>