Android: fix step name for test runners.

Following http://codereview.chromium.org/10777017/, the step name
contained the fully qualified path, it needs to be just the basename.

BUG=
TEST=run tests, note the step name.


Review URL: https://chromiumcodereview.appspot.com/10798009

git-svn-id: http://src.chromium.org/svn/trunk/src/build@147238 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
bulach@chromium.org 2012-07-18 14:59:10 +00:00
Родитель 2afbb1d273
Коммит 372b1cd5c4
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -272,7 +272,8 @@ def _RunATestSuite(options):
Returns:
0 if successful, number of failing tests otherwise.
"""
buildbot_report.PrintNamedStep('Test suite %s' % options.test_suite)
step_name = os.path.basename(options.test_suite).replace('-debug.apk', '')
buildbot_report.PrintNamedStep('Test suite %s' % step_name)
attached_devices = []
buildbot_emulators = []