Commit 46762966 authored by machenbach's avatar machenbach Committed by Commit bot

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}
parent 11b52971
...@@ -516,10 +516,7 @@ class AndroidPlatform(Platform): # pragma: no cover ...@@ -516,10 +516,7 @@ class AndroidPlatform(Platform): # pragma: no cover
def PostExecution(self): def PostExecution(self):
perf = perf_control.PerfControl(self.device) perf = perf_control.PerfControl(self.device)
perf.SetDefaultPerfMode() perf.SetDefaultPerfMode()
self.device.RunShellCommand( self.device.RunShellCommand(["rm", "-rf", AndroidPlatform.DEVICE_DIR])
["rm", "-rf", "*"],
cwd=AndroidPlatform.DEVICE_DIR,
)
def _PushFile(self, host_dir, file_name, target_rel="."): def _PushFile(self, host_dir, file_name, target_rel="."):
file_on_host = os.path.join(host_dir, file_name) file_on_host = os.path.join(host_dir, file_name)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment