diff options
| author | Ruben Brunk <rubenbrunk@google.com> | 2014-10-02 13:08:24 -0700 |
|---|---|---|
| committer | Ruben Brunk <rubenbrunk@google.com> | 2014-10-02 13:08:24 -0700 |
| commit | e5aa0f3fa86c93789f8e03b3601998e3fc7eab8e (patch) | |
| tree | cd4fbf91f0900e872353a7bdeb2e256f21643c3b /testrunner | |
| parent | 52af255018b0c56c4a35dfedf10720e7d4792bbc (diff) | |
runtest: Remove unused CtsTestStubs dependency.
Change-Id: Icee3004731ab5d37e8eb2caba76b19b0a5f1b1b7
Diffstat (limited to 'testrunner')
| -rwxr-xr-x | testrunner/runtest.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/testrunner/runtest.py b/testrunner/runtest.py index f9f477162..761652f19 100755 --- a/testrunner/runtest.py +++ b/testrunner/runtest.py @@ -345,13 +345,6 @@ class TestRunner(object): """If necessary, run a full 'make' command for the tests that need it.""" extra_args_set = Set() - # hack to build cts dependencies - # TODO: remove this when cts dependencies are removed - is_cts = self._IsCtsTests(tests) - if is_cts: - # need to use make since these fail building with ONE_SHOT_MAKEFILE - extra_args_set.add('CtsTestStubs') - extra_args_set.add('android.core.tests.runner') for test in tests: if test.IsFullMake(): if test.GetExtraBuildArgs(): @@ -373,12 +366,6 @@ class TestRunner(object): logger.SilentLog(output) os.chdir(old_dir) self._DoInstall(output) - if is_cts: - # hack! hardcode install of CtsTestStubs - out = android_build.GetTestAppPath() - abs_install_path = os.path.join(out, "CtsTestStubs", "CtsTestStubs.apk") - logger.Log("adb install -r %s" % abs_install_path) - logger.Log(self._adb.Install(abs_install_path)) def _AddBuildTarget(self, test_suite, target_tree, extra_args_set): if not test_suite.IsFullMake(): |
