[Lldb-commits] [lldb] r120626 - /lldb/trunk/test/types/AbstractBase.py

Johnny Chen johnny.chen at apple.com
Wed Dec 1 15:46:33 PST 2010


Author: johnny
Date: Wed Dec  1 17:46:33 2010
New Revision: 120626

URL: http://llvm.org/viewvc/llvm-project?rev=120626&view=rev
Log:
GenericTester.generic_type_expr_tester():

    Don't overwhelm the expression mechanism.  Previously, there was no delay
    between successive invocations of 'expression' command.  The test suite
    run has experienced 'Resume timed out' or similar error messages.  Now we
    currently add a sleep of 1.0 second before issuing the next 'expression'
    command.

Modified:
    lldb/trunk/test/types/AbstractBase.py

Modified: lldb/trunk/test/types/AbstractBase.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/types/AbstractBase.py?rev=120626&r1=120625&r2=120626&view=diff
==============================================================================
--- lldb/trunk/test/types/AbstractBase.py (original)
+++ lldb/trunk/test/types/AbstractBase.py Wed Dec  1 17:46:33 2010
@@ -113,6 +113,8 @@
         # Now iterate through the golden list, comparing against the output from
         # 'expr var'.
         for var, val in gl:
+            # Don't overwhelm the expression mechanism.
+            time.sleep(1.0)
             self.runCmd("expression %s" % var)
             output = self.res.GetOutput()
             





More information about the lldb-commits mailing list