Index: build/android/test_runner.py |
diff --git a/build/android/test_runner.py b/build/android/test_runner.py |
index b51effb23f82bcf898e68e9a48ad125906a02e15..76d508b5f3ff9d1a8d8efef4a353a440f283cce4 100755 |
--- a/build/android/test_runner.py |
+++ b/build/android/test_runner.py |
@@ -250,6 +250,9 @@ def AddInstrumentationTestOptions(option_parser): |
help=('The name of the apk containing the tests ' |
'(without the .apk extension; e.g. "ContentShellTest"). ' |
'Alternatively, this can be a full path to the apk.')) |
+ option_parser.add_option('--coverage_dir', |
frankf
2013/08/01 19:57:41
--coverage-dir
gkanwar1
2013/08/07 19:24:56
Done.
|
+ help=('Directory in which to place all generated ' |
+ 'EMMA coverage files.')) |
def ProcessInstrumentationOptions(options, error_func): |
@@ -367,7 +370,7 @@ def _RunInstrumentationTests(options, error_func): |
options.exclude_annotations, options.test_filter, options.build_type, |
options.test_data, options.save_perf_json, options.screenshot_failures, |
options.tool, options.wait_for_debugger, options.disable_assertions, |
- options.push_deps, options.cleanup_test_files) |
+ options.push_deps, options.cleanup_test_files, options.coverage_dir) |
test_results, exit_code = test_dispatcher.RunTests( |
tests, runner_factory, options.wait_for_debugger, |