Reviewers: ulan,
Message:
PTAL
Description:
Fix path construction in perf runner.
BUG=chromium:374740
LOG=n
TEST=python -m unittest run_perf_test
NOTRY=true
Please review this at https://codereview.chromium.org/776873005/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+5, -2 lines):
M tools/run_perf.py
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):
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.