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

Fix path construction in perf runner.

BUG=chromium:374740
LOG=n
TEST=python -m unittest run_perf_test
TBR=ulan@chromium.org
NOTRY=true

Review URL: https://codereview.chromium.org/776873005

Cr-Commit-Position: refs/heads/master@{#25651}
parent a0ac642b
...@@ -534,8 +534,11 @@ class AndroidPlatform(Platform): # pragma: no cover ...@@ -534,8 +534,11 @@ class AndroidPlatform(Platform): # pragma: no cover
def PreTests(self, node, path): def PreTests(self, node, path):
suite_dir = os.path.abspath(os.path.dirname(path)) suite_dir = os.path.abspath(os.path.dirname(path))
if node.path:
bench_dir = os.path.join(suite_dir, bench_dir = os.path.join(suite_dir,
os.path.normpath(os.path.join(*node.path))) os.path.normpath(os.path.join(*node.path)))
else:
bench_dir = suite_dir
self._PushFile(self.shell_dir, node.binary) self._PushFile(self.shell_dir, node.binary)
if isinstance(node, Runnable): if isinstance(node, Runnable):
......
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