Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4211)

Unified Diff: build/android/run_instrumentation_tests.py

Issue 13496004: [Android] Set flags for uiautomator based on annotations not test name. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/pylib/utils/test_options_parser.py ('k') | build/android/run_uiautomator_tests.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/run_instrumentation_tests.py
diff --git a/build/android/run_instrumentation_tests.py b/build/android/run_instrumentation_tests.py
index 4b288f12186ec6c1b84927d148ccca9269b3b3b2..089c04c3c490ebc9e78d9a1f85e3c8050bb7c086 100755
--- a/build/android/run_instrumentation_tests.py
+++ b/build/android/run_instrumentation_tests.py
@@ -7,6 +7,7 @@
"""Runs both the Python and Java instrumentation tests."""
import optparse
+import os
import sys
from pylib import buildbot_report
@@ -49,7 +50,7 @@ def DispatchInstrumentationTests(options):
report_results.LogFull(
results=all_results,
test_type='Instrumentation',
- test_package=options.test_apk,
+ test_package=os.path.basename(options.test_apk),
annotation=options.annotation,
build_type=options.build_type,
flakiness_server=options.flakiness_dashboard_server)
« no previous file with comments | « build/android/pylib/utils/test_options_parser.py ('k') | build/android/run_uiautomator_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698