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