| Index: build/android/pylib/instrumentation/setup.py
|
| diff --git a/build/android/pylib/instrumentation/setup.py b/build/android/pylib/instrumentation/setup.py
|
| index 3b24188fbd5253310500d814ee9039732a8a0794..8254e2571f6d8718086d803cab322d5907056a4d 100644
|
| --- a/build/android/pylib/instrumentation/setup.py
|
| +++ b/build/android/pylib/instrumentation/setup.py
|
| @@ -5,6 +5,7 @@
|
| """Generates test runner factory and tests for instrumentation tests."""
|
|
|
| import logging
|
| +import os
|
|
|
| import test_package
|
| import test_runner
|
| @@ -19,6 +20,9 @@ def Setup(test_options):
|
| Returns:
|
| A tuple of (TestRunnerFactory, tests).
|
| """
|
| + if not os.path.exists(test_options.coverage_dir):
|
| + os.makedirs(test_options.coverage_dir)
|
| +
|
| test_pkg = test_package.TestPackage(test_options.test_apk_path,
|
| test_options.test_apk_jar_path)
|
| tests = test_pkg._GetAllMatchingTests(
|
|
|