Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Unified Diff: tools/perf/run_benchmark

Issue 1280903003: Add dependency_manager initialization to binary_manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix and refactor the unittest. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/perf/core/project_config.py ('k') | tools/perf/run_tests » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/run_benchmark
diff --git a/tools/perf/run_benchmark b/tools/perf/run_benchmark
index 4884b41d836d1e299ace3163716f2cc69ec915b8..60847469d08a8d73935649fcda24c11e90829c87 100755
--- a/tools/perf/run_benchmark
+++ b/tools/perf/run_benchmark
@@ -8,13 +8,9 @@ import sys
sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir, 'telemetry'))
+from core import project_config
from telemetry import benchmark_runner
if __name__ == '__main__':
- top_level_dir = os.path.dirname(os.path.realpath(__file__))
-
- config = benchmark_runner.ProjectConfig(
- top_level_dir=top_level_dir,
- benchmark_dirs=[os.path.join(top_level_dir, 'benchmarks')])
- sys.exit(benchmark_runner.main(config))
+ sys.exit(benchmark_runner.main(project_config.config))
« no previous file with comments | « tools/perf/core/project_config.py ('k') | tools/perf/run_tests » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698