Index: build/android/pylib/base/test_run_factory.py |
diff --git a/build/android/pylib/base/test_run_factory.py b/build/android/pylib/base/test_run_factory.py |
index 0d71e97fb2c0b1b985d591906269f4d1c065effb..1a2872819d9c2fd09551f1017a320cb7a8e147e2 100644 |
--- a/build/android/pylib/base/test_run_factory.py |
+++ b/build/android/pylib/base/test_run_factory.py |
@@ -5,10 +5,12 @@ |
from pylib.gtest import gtest_test_instance |
from pylib.instrumentation import instrumentation_test_instance |
from pylib.junit import junit_test_instance |
+from pylib.linker import linker_test_instance |
from pylib.monkey import monkey_test_instance |
from pylib.local.device import local_device_environment |
from pylib.local.device import local_device_gtest_run |
from pylib.local.device import local_device_instrumentation_test_run |
+from pylib.local.device import local_device_linker_test_run |
from pylib.local.device import local_device_monkey_test_run |
from pylib.local.device import local_device_perf_test_run |
from pylib.local.machine import local_machine_environment |
@@ -35,6 +37,9 @@ def CreateTestRun(args, env, test_instance, error_func): |
instrumentation_test_instance.InstrumentationTestInstance): |
return (local_device_instrumentation_test_run |
.LocalDeviceInstrumentationTestRun(env, test_instance)) |
+ if isinstance(test_instance, linker_test_instance.LinkerTestInstance): |
+ return (local_device_linker_test_run |
+ .LocalDeviceLinkerTestRun(env, test_instance)) |
if isinstance(test_instance, monkey_test_instance.MonkeyTestInstance): |
return (local_device_monkey_test_run |
.LocalDeviceMonkeyTestRun(env, test_instance)) |