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

Unified Diff: tools/run_perf.py

Issue 776223003: Correct clean up in android perf runner. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years 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: tools/run_perf.py
diff --git a/tools/run_perf.py b/tools/run_perf.py
index b8b49aa724e262225b9e28f431cd1978d77378a0..a4fc8b3463d14856fdc0d5b0935f1aa24b4fefe0 100755
--- a/tools/run_perf.py
+++ b/tools/run_perf.py
@@ -516,10 +516,7 @@ class AndroidPlatform(Platform): # pragma: no cover
def PostExecution(self):
perf = perf_control.PerfControl(self.device)
perf.SetDefaultPerfMode()
- self.device.RunShellCommand(
- ["rm", "-rf", "*"],
- cwd=AndroidPlatform.DEVICE_DIR,
- )
+ self.device.RunShellCommand(["rm", "-rf", AndroidPlatform.DEVICE_DIR])
def _PushFile(self, host_dir, file_name, target_rel="."):
file_on_host = os.path.join(host_dir, file_name)
« 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