aboutsummaryrefslogtreecommitdiff
path: root/run_tests.py
diff options
context:
space:
mode:
authorCaroline Tice <cmtice@google.com>2016-04-14 09:19:02 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-04-14 19:01:50 +0000
commiteddb06396dc17fcec418c3aadc234f737b63c876 (patch)
tree73cc836f4d6faf44b3a682fc5dec45599605d0ee /run_tests.py
parenteabfd367c30c20ecdf0adb1f0281fc02dca10102 (diff)
downloadtoolchain-utils-eddb06396dc17fcec418c3aadc234f737b63c876.tar.gz
[crosperf] Fix more lint errors.
BUG=chromium:567921 Test=Tested in my directory. Change-Id: Ibe128dd030887e0372380fb8f95a5e37ee63feeb Reviewed-on: https://chrome-internal-review.googlesource.com/255303 Commit-Ready: Caroline Tice <cmtice@google.com> Tested-by: Caroline Tice <cmtice@google.com> Reviewed-by: Yunlian Jiang <yunlian@google.com>
Diffstat (limited to 'run_tests.py')
-rwxr-xr-xrun_tests.py19
1 files changed, 7 insertions, 12 deletions
diff --git a/run_tests.py b/run_tests.py
index 11bbb8c3..c755278e 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
#
# Copyright 2010 Google Inc. All Rights Reserved.
"""Script to wrap run_remote_tests.sh script.
@@ -6,23 +6,18 @@
This script calls run_remote_tests.sh with standard tests.
"""
-__author__ = 'asharif@google.com (Ahmad Sharif)'
+from __future__ import print_function
-import optparse
-import os
-import re
-import sys
+__author__ = 'asharif@google.com (Ahmad Sharif)'
-from utils import command_executer
-from utils import logger
-import build_chromeos
+import sys
-def Main(argv):
+def Main():
"""The main function."""
- print 'This script is deprecated. Use crosperf for running tests.'
+ print('This script is deprecated. Use crosperf for running tests.')
return 1
if __name__ == '__main__':
- sys.exit(Main(sys.argv))
+ sys.exit(Main())