Author: labath
Date: Wed Aug 19 10:24:02 2015
New Revision: 245448
URL: http://llvm.org/viewvc/llvm-project?rev=245448&view=rev
Log:
Increase timeout in TestCallThatRestarts
the test was failing on android because processing 30 signals involved a lot of
round-trips,
which was not possible in the 0.5s default timeout. After the increase the test
seems to pass
reliably.
Modified:
lldb/trunk/test/expression_command/call-restarts/TestCallThatRestarts.py
Modified:
lldb/trunk/test/expression_command/call-restarts/TestCallThatRestarts.py
URL:
http://llvm.org/viewvc/llvm-project/lldb/trunk/test/expression_command/call-restarts/TestCallThatRestarts.py?rev=245448&r1=245447&r2=245448&view=diff
==============================================================================
--- lldb/trunk/test/expression_command/call-restarts/TestCallThatRestarts.py
(original)
+++ lldb/trunk/test/expression_command/call-restarts/TestCallThatRestarts.py
Wed Aug 19 10:24:02 2015
@@ -81,6 +81,8 @@ class ExprCommandThatRestartsTestCase(Te
self.assertTrue (self.start_sigchld_no != -1, "Got an actual value for
sigchld_no")
options = lldb.SBExpressionOptions()
+ # processing 30 signals takes a while, increase the expression timeout
a bit
+ options.SetTimeoutInMicroSeconds(3000000) # 3s
options.SetUnwindOnError(True)
frame = self.thread.GetFrameAtIndex(0)
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits