| Index: tools/run_perf.py
|
| diff --git a/tools/run_perf.py b/tools/run_perf.py
|
| index 02cfe63beda435b3966b4dcca914d6e607c73c22..0a24c08e0775ad75057e3bfc9049c9ad97d7cd16 100755
|
| --- a/tools/run_perf.py
|
| +++ b/tools/run_perf.py
|
| @@ -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):
|
|
|