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

Unified Diff: build/android/pylib/base/test_instance_factory.py

Issue 2012323002: [Android] Implement perf tests to platform mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add retry logic and some clean up Created 4 years, 7 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: build/android/pylib/base/test_instance_factory.py
diff --git a/build/android/pylib/base/test_instance_factory.py b/build/android/pylib/base/test_instance_factory.py
index 523b4c5be1ebe67d193aacbbaacab8b771f1ce37..939b9dd5f68b50d6161a6cc5dca07ddcb3fd200d 100644
--- a/build/android/pylib/base/test_instance_factory.py
+++ b/build/android/pylib/base/test_instance_factory.py
@@ -4,6 +4,7 @@
from pylib.gtest import gtest_test_instance
from pylib.instrumentation import instrumentation_test_instance
+from pylib.perf import perf_test_instance
from pylib.uirobot import uirobot_test_instance
from pylib.utils import isolator
@@ -18,5 +19,7 @@ def CreateTestInstance(args, error_func):
args, isolator.Isolator(), error_func)
elif args.command == 'uirobot':
return uirobot_test_instance.UirobotTestInstance(args, error_func)
+ elif args.command == 'perf':
mikecase (-- gone --) 2016/06/01 17:40:27 suuuuuuuper nit: alphabetize maybe
jbudorick 2016/06/01 17:44:11 nit: alphabetize
rnephew (Reviews Here) 2016/06/01 20:32:04 Done.
+ return perf_test_instance.PerfTestInstance(args, error_func)
error_func('Unable to create %s test instance.' % args.command)
« no previous file with comments | « no previous file | build/android/pylib/base/test_run_factory.py » ('j') | build/android/pylib/base/test_run_factory.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698