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) |