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}
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):