[Lldb-commits] [lldb] r237981 - [TestLldbGdbServer] Up sleep duration to 1min in the inferior thread_func.

Siva Chandra sivachandra at google.com
Thu May 21 17:52:41 PDT 2015


Author: sivachandra
Date: Thu May 21 19:52:41 2015
New Revision: 237981

URL: http://llvm.org/viewvc/llvm-project?rev=237981&view=rev
Log:
[TestLldbGdbServer] Up sleep duration to 1min in the inferior thread_func.

Summary:
The current sleep duration is not sufficient for Android.

[[ Its a completely different investigation as to why Android needs longer
   sleep durations for this test. ]]

Test Plan: dotest.py -p TestLldbGdbServer on Android and local linux.

Reviewers: chaoren

Reviewed By: chaoren

Subscribers: tberghammer, lldb-commits

Differential Revision: http://reviews.llvm.org/D9926

Modified:
    lldb/trunk/test/tools/lldb-server/main.cpp

Modified: lldb/trunk/test/tools/lldb-server/main.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/tools/lldb-server/main.cpp?rev=237981&r1=237980&r2=237981&view=diff
==============================================================================
--- lldb/trunk/test/tools/lldb-server/main.cpp (original)
+++ lldb/trunk/test/tools/lldb-server/main.cpp Thu May 21 19:52:41 2015
@@ -199,7 +199,7 @@ thread_func (void *arg)
 		pthread_mutex_unlock (&g_print_mutex);
 	}
 
-	int sleep_seconds_remaining = 5;
+	int sleep_seconds_remaining = 60;
 	while (sleep_seconds_remaining > 0)
 	{
 		sleep_seconds_remaining = sleep (sleep_seconds_remaining);





More information about the lldb-commits mailing list