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

Unified Diff: tools/perf/run_telemetry_tests

Issue 2824053002: [tools/perf] Remove default values of benchmark_dirs and top_level_dir in chromium_config module (R… (Closed)
Patch Set: Fix referencess Created 3 years, 8 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/run_benchmark ('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_telemetry_tests
diff --git a/tools/perf/run_telemetry_tests b/tools/perf/run_telemetry_tests
index 699cf63f880619f54270ada4c00013aa5b42c616..0abbd8a94b5c508e6854595f56e4bc8ccddd77bb 100755
--- a/tools/perf/run_telemetry_tests
+++ b/tools/perf/run_telemetry_tests
@@ -13,18 +13,18 @@ import subprocess
import sys
from chrome_telemetry_build import chromium_config
+from core import path_util
+path_util.AddTelemetryToPath()
-
-sys.path.append(chromium_config.GetTelemetryDir())
from telemetry.testing import unittest_runner
def main():
telemetry_test_config = os.path.join(
- chromium_config.GetTelemetryDir(), 'telemetry',
+ path_util.GetTelemetryDir(), 'telemetry',
'telemetry_unittest_deps.json')
project_config = chromium_config.ChromiumConfig(
- top_level_dir=chromium_config.GetTelemetryDir(),
+ top_level_dir=path_util.GetTelemetryDir(),
client_configs=[chromium_config.CLIENT_CONFIG_PATH, telemetry_test_config]
)
return unittest_runner.Run(
« no previous file with comments | « tools/perf/run_benchmark ('k') | tools/perf/run_tests » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698