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

Unified Diff: build/android/pylib/gtest/test_runner.py

Issue 12659003: Cleanup test server instance after running each a test in gtest test runner (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix typo Created 7 years, 9 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
« no previous file with comments | « build/android/pylib/chrome_test_server_spawner.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/gtest/test_runner.py
diff --git a/build/android/pylib/gtest/test_runner.py b/build/android/pylib/gtest/test_runner.py
index 33de7eaaadd5aa549331477f1314b0fcc2a3bdd3..3b9369209f1eca39e4332c51d427e7e4130f425e 100644
--- a/build/android/pylib/gtest/test_runner.py
+++ b/build/android/pylib/gtest/test_runner.py
@@ -263,6 +263,8 @@ class TestRunner(base_test_runner.BaseTestRunner):
logging.warning(e)
if android_commands.IsDeviceAttached(self.device):
raise
+ finally:
+ self.CleanupSpawningServerState()
# Calculate unknown test results.
# TODO(frankf): Do not break TestResults encapsulation.
all_tests = set(test.split(':'))
« no previous file with comments | « build/android/pylib/chrome_test_server_spawner.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698