Lines Matching refs:path

13   "path": <relative path chunks to perf resources and main file>,
52 specified, it is called after running the tests (with a path relative to the
53 suite level's path). It is expected to read the measurement's output text
62 "path": ["."],
82 "path": ["."],
90 "path": ["richards"],
95 "path": ["navier_stokes"],
101 Path pieces are concatenated. D8 is always run with the suite's path as cwd.
138 TOOLS_BASE = os.path.abspath(os.path.dirname(__file__))
159 "graphs": ["path", "to", "trace", "config"],
168 "graphs": ["path", "to", "runnable", "config"],
277 assert os.path.exists(results_processor)
312 self.path = []
335 assert isinstance(suite.get('path', []), list)
343 self.path = parent.path[:] + suite.get('path', [])
450 """Changes the cwd to to path defined in the current graph.
454 suite_dir = os.path.abspath(os.path.dirname(suite_path))
455 bench_dir = os.path.normpath(os.path.join(*self.path))
456 cwd = os.path.join(suite_dir, bench_dir)
478 shell=os.path.join(shell_dir, self.binary),
582 def is_build(path):
585 return (os.path.isfile(os.path.join(path, 'd8')) or
586 os.path.isfile(os.path.join(path, 'node')))
595 possible_paths = [os.path.join(base_path, p) for p in possible_paths]
600 ) == 1, 'Found ambiguous build directories use --binary-override-path.'
613 config_path = os.path.join(args.shell_dir, 'v8_build_config.json')
614 if not os.path.isfile(config_path):
694 def PreTests(self, node, path):
696 node.ChangeCWD(path)
707 tick_tools = os.path.join(TOOLS_BASE, '%s-tick-processor' % os_prefix)
732 def PreTests(self, node, path):
734 node.ChangeCWD(path)
735 suite_dir = os.path.abspath(os.path.dirname(path))
736 if node.path:
737 bench_rel = os.path.normpath(os.path.join(*node.path))
738 bench_abs = os.path.join(suite_dir, bench_rel)
757 # Relative path to benchmark directory.
758 if runnable.path:
759 bench_rel = os.path.normpath(os.path.join(*runnable.path))
766 logcat_file = os.path.join(
929 parser.add_argument('--binary-override-path',
1005 workspace = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
1009 os.path.join(workspace, args.outdir), args.arch)
1012 if not os.path.isfile(args.binary_override_path):
1013 logging.error('binary-override-path must be a file name')
1016 logging.error('specify either binary-override-path or outdir-secondary')
1018 args.shell_dir = os.path.abspath(
1019 os.path.dirname(args.binary_override_path))
1020 default_binary_name = os.path.basename(args.binary_override_path)
1024 os.path.join(workspace, args.outdir_secondary), args.arch)
1029 args.json_test_results = os.path.abspath(args.json_test_results)
1032 args.json_test_results_secondary = os.path.abspath(
1035 # Ensure all arguments have absolute path before we start changing current
1037 args.suite = list(map(os.path.abspath, args.suite))
1048 for path in args.suite:
1049 if not os.path.exists(path): # pragma: no cover
1050 result_tracker.AddError('Configuration file %s does not exist.' % path)
1053 with open(path) as f:
1057 suite.setdefault('name', os.path.splitext(os.path.basename(path))[0])
1068 platform.PreTests(node, path)