From 46762966c481b2bf5b72e7fb288c0bf5885b90c6 Mon Sep 17 00:00:00 2001 From: machenbach Date: Mon, 8 Dec 2014 01:10:38 -0800 Subject: [PATCH] Correct clean up in android perf runner. BUG=chromium:374740 LOG=n TEST=python -m unittest run_perf_test NOTRY=true TBR=ulan@chromium.org Review URL: https://codereview.chromium.org/776223003 Cr-Commit-Position: refs/heads/master@{#25700} --- tools/run_perf.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tools/run_perf.py b/tools/run_perf.py index b8b49aa72..a4fc8b346 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) -- 2.34.1