aboutsummaryrefslogtreecommitdiff
path: root/run_tests.py
diff options
context:
space:
mode:
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())