From 82188be08a578c67ea31956f6a1d679bf4e38561 Mon Sep 17 00:00:00 2001 From: "frankf@chromium.org" Date: Fri, 18 Oct 2013 03:03:33 +0000 Subject: [PATCH] [Android] Remove --keep_test_server_ports as a mandorty option. Perf tests currently expect all perf scripts to support this option. BUG=285470 NOTRY=True Review URL: https://codereview.chromium.org/26484005 git-svn-id: http://src.chromium.org/svn/trunk/src/build@229289 4ff67af0-8c30-449e-8e8b-ad334ec8d88c --- android/pylib/perf/test_runner.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/android/pylib/perf/test_runner.py b/android/pylib/perf/test_runner.py index c1ad07f7c..10a8da2d4 100644 --- a/android/pylib/perf/test_runner.py +++ b/android/pylib/perf/test_runner.py @@ -37,16 +37,14 @@ be ignored: ] Note that script_to_execute necessarily have to take at least the following -options: +option: --device: the serial number to be passed to all adb commands. - --keep_test_server_ports: indicates it's being run as a shard, and shouldn't - reset test server port allocation. """ import datetime import logging -import pickle import os +import pickle import sys from pylib import constants @@ -110,7 +108,7 @@ class TestRunner(base_test_runner.BaseTestRunner): Returns: A tuple containing (Output, base_test_result.ResultType) """ - cmd = ('%s --device %s --keep_test_server_ports' % + cmd = ('%s --device %s' % (self._tests[test_name], self.device)) logging.info('%s : %s', test_name, cmd) start_time = datetime.datetime.now()