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

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: Just cleanup test server instance 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
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..00509a9f736cfb87b02607114ac01be4f6e834be 100644
--- a/build/android/pylib/gtest/test_runner.py
+++ b/build/android/pylib/gtest/test_runner.py
@@ -271,6 +271,7 @@ class TestRunner(base_test_runner.BaseTestRunner):
test_results.unknown = [test_result.BaseTestResult(t, '') for t in
unknown_tests]
retry = ':'.join([t.name for t in test_results.GetAllBroken()])
+ self.CleanupAfterEachTest()
craigdh 2013/03/08 19:53:08 Should this be in a finally block attached to the
nilesh 2013/03/08 23:37:52 Done.
return test_results, retry
#override

Powered by Google App Engine
This is Rietveld 408576698