OSDN Git Service

DO NOT MERGE: cherry-pick https://review.source.android.com/14536 into tools_r6.
authorBrett Chabot <brettchabot@android.com>
Mon, 3 May 2010 19:47:49 +0000 (12:47 -0700)
committerBrett Chabot <brettchabot@android.com>
Thu, 6 May 2010 00:31:44 +0000 (17:31 -0700)
commitbf2cc1ba6983e23f14df45c20ee08f2d4e2b2fd3
tree86a80a3e948fd84183a3576f6682a09635c537ee
parent59d2155e96e84aa1102e0a3cff2b16bca4cd48c5
DO NOT MERGE: cherry-pick https://review.source.android.com/14536 into tools_r6.

Original commit message:
------------
Attempt to fix intermittent ADT test run failures.

Change the ADT test run steps to be more deterministic:
1) Start the JDT test run listener server side connection before the client
side (this is invokked via the launch.addProcess call)
2) Don't fork off a separate thread to run the tests. This was always
redundant and inefficient anyway, since the AndroidLaunchController already
forks off a thread to perform the launch

Bug 7976

Change-Id: Ie237e7d83e1f5a945a2061506b7c302c04aef8d0
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/junit/AndroidJUnitLaunchAction.java