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

Unified Diff: content/test/gpu/run_tests

Issue 12252020: Add a telemetry-based gpu_tests folder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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
Index: content/test/gpu/run_tests
diff --git a/tools/perf/run_multipage_benchmarks b/content/test/gpu/run_tests
similarity index 78%
copy from tools/perf/run_multipage_benchmarks
copy to content/test/gpu/run_tests
index c25c43394bd177f8953beb02b762efdec88b7044..fe597cad0c5a8c125240fa9a7a5476e82c048ba2 100755
--- a/tools/perf/run_multipage_benchmarks
+++ b/content/test/gpu/run_tests
@@ -19,7 +19,7 @@ def bootstrapIfNeeded(module_name, module_path, module_deps_url):
except ImportError:
sys.path.append(os.path.join(os.path.dirname(__file__),
BOOTSTRAPPED_FILES_DIR,
- module_path))
+ module_path))
try:
imp.find_module(module_name)
return
@@ -35,10 +35,10 @@ def bootstrapIfNeeded(module_name, module_path, module_deps_url):
if __name__ == '__main__':
- bootstrapIfNeeded('perf_tools', 'src/tools/perf',
- 'http://src.chromium.org/viewvc/chrome/trunk/src/tools/' +
- 'perf/perf_lib/bootstrap_deps')
- import perf_tools
- from telemetry import multi_page_benchmark_runner
- benchmark_dir = os.path.join(os.path.dirname(__file__), 'perf_tools')
- sys.exit(multi_page_benchmark_runner.Main(benchmark_dir))
+ bootstrapIfNeeded('gpu_tests', 'src/content/test/gpu',
+ 'http://src.chromium.org/viewvc/chrome/trunk/src/content/' +
+ 'test/gpu/gpu_tests/bootstrap_deps')
+ import gpu_tests
+ from telemetry import page_test_runner
+ test_dir = os.path.join(os.path.dirname(__file__), 'gpu_tests')
+ sys.exit(page_test_runner.Main(test_dir))

Powered by Google App Engine
This is Rietveld 408576698