From 8c55055b94cd28d03469ad4872861b9e60313fc3 Mon Sep 17 00:00:00 2001 From: "bulach@chromium.org" Date: Wed, 18 Jul 2012 14:59:10 +0000 Subject: 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: svn://svn.chromium.org/chrome/trunk/src@147238 0039d316-1c4b-4281-b951-d872f2087c98 --- build/android/run_tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build') diff --git a/build/android/run_tests.py b/build/android/run_tests.py index 1513aa1..f1f1ab2 100755 --- a/build/android/run_tests.py +++ b/build/android/run_tests.py @@ -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 = [] -- cgit v1.1