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}
This commit is contained in:
parent
a0ac642bc3
commit
b991ece9ac
@ -534,8 +534,11 @@ class AndroidPlatform(Platform): # pragma: no cover
|
||||
|
||||
def PreTests(self, node, path):
|
||||
suite_dir = os.path.abspath(os.path.dirname(path))
|
||||
bench_dir = os.path.join(suite_dir,
|
||||
os.path.normpath(os.path.join(*node.path)))
|
||||
if node.path:
|
||||
bench_dir = os.path.join(suite_dir,
|
||||
os.path.normpath(os.path.join(*node.path)))
|
||||
else:
|
||||
bench_dir = suite_dir
|
||||
|
||||
self._PushFile(self.shell_dir, node.binary)
|
||||
if isinstance(node, Runnable):
|
||||
|
Loading…
Reference in New Issue
Block a user