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

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

Issue 21405003: [android] Clear content_browsertests profile after each run. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added comment Created 7 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
« no previous file with comments | « no previous file | 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 2a93e37532c828045c54011ebc0a77012985c964..6e47dd09e0d4fb4fccde85e86b652dd1373e0c1f 100644
--- a/build/android/pylib/gtest/test_runner.py
+++ b/build/android/pylib/gtest/test_runner.py
@@ -187,5 +187,10 @@ class TestRunner(base_test_runner.BaseTestRunner):
#override
def TearDown(self):
"""Cleans up the test enviroment for the test suite."""
+ # Content shell creates a profile on the sdscard which accumulates cache
+ # files over time.
+ self.adb.RunShellCommand('rm -r ' +
+ os.path.join(self.adb.GetExternalStorage(), 'content_shell'),
+ timeout_time=60 * 2)
self.tool.CleanUpEnvironment()
super(TestRunner, self).TearDown()
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698