Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Unified Diff: build/android/run_tests.py

Issue 10784011: create temp avd when running tests on multiple emulators (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« build/android/emulator.py ('K') | « build/android/emulator.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/run_tests.py
diff --git a/build/android/run_tests.py b/build/android/run_tests.py
index f749aaec8d92b035250e297da1ff3f83eec9c071..d66bee316398cba5abae921202a9ed3389e1d0fb 100755
--- a/build/android/run_tests.py
+++ b/build/android/run_tests.py
@@ -325,7 +325,8 @@ def _RunATestSuite(options):
if options.use_emulator:
for n in range(options.use_emulator):
t = TimeProfile('Emulator launch %d' % n)
- buildbot_emulator = emulator.Emulator(options.fast_and_loose)
+ avd_name = None if n == 0 else 'run_tests_avd_%d' % n
bulach 2012/07/16 11:39:13 maybe clearer as: avd_name = None if n > 0: # Cr
Wei James(wistoch) 2012/07/16 13:04:38 fixed. thanks
+ buildbot_emulator = emulator.Emulator(avd_name, options.fast_and_loose)
buildbot_emulator.Launch(kill_all_emulators=n == 0)
t.Stop()
buildbot_emulators.append(buildbot_emulator)
« build/android/emulator.py ('K') | « build/android/emulator.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698