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..5cc3723798477b37411d352306c80905add868f2 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 |
@@ -16,6 +17,8 @@ def CreateTestInstance(args, error_func): |
elif args.command == 'instrumentation': |
return instrumentation_test_instance.InstrumentationTestInstance( |
args, isolator.Isolator(), error_func) |
+ elif args.command == 'perf': |
+ return perf_test_instance.PerfTestInstance(args, error_func) |
elif args.command == 'uirobot': |
return uirobot_test_instance.UirobotTestInstance(args, error_func) |