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

Unified Diff: content/test/gpu/run_unittests.py

Issue 1358903004: Use built Chromium dependencies in run_gpu_test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@crash_service
Patch Set: rebase Created 5 years, 3 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 | « content/test/gpu/run_gpu_test.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/gpu/run_unittests.py
diff --git a/content/test/gpu/run_unittests.py b/content/test/gpu/run_unittests.py
index ea5461e28fd9cdbda76ec3c7890e303d9c7bbc26..d5f5fe009a2a4d30716decc9ad36900a0e751008 100755
--- a/content/test/gpu/run_unittests.py
+++ b/content/test/gpu/run_unittests.py
@@ -24,7 +24,11 @@ if __name__ == '__main__':
else:
env['PYTHONPATH'] = telemetry_dir
- path_to_run_tests = os.path.join(telemetry_dir, 'telemetry', 'testing',
- 'run_tests.py')
- argv = ['--top-level-dir', gpu_test_dir] + sys.argv[1:]
+ path_to_run_tests = os.path.realpath(os.path.join(
+ telemetry_dir, 'telemetry', 'testing', 'run_tests.py'))
+ client_config = os.path.realpath(os.path.join(
+ gpu_test_dir, os.pardir, os.pardir, os.pardir, 'tools', 'perf',
+ 'core', 'binary_dependencies.json'))
+ argv = ['--top-level-dir', gpu_test_dir,
+ '--client-config', client_config] + sys.argv[1:]
sys.exit(subprocess.call([sys.executable, path_to_run_tests] + argv, env=env))
« no previous file with comments | « content/test/gpu/run_gpu_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698