asharif | 758f12c | 2013-02-15 09:11:18 +0000 | [diff] [blame] | 1 | #!/usr/bin/python2.6 |
| 2 | # |
| 3 | # Copyright 2010 Google Inc. All Rights Reserved. |
| 4 | |
| 5 | """Script to wrap run_remote_tests.sh script. |
| 6 | |
| 7 | This script can login to the chromeos machine using the test private key. |
| 8 | """ |
| 9 | |
| 10 | __author__ = "asharif@google.com (Ahmad Sharif)" |
| 11 | |
| 12 | import optparse |
| 13 | import os |
| 14 | import re |
| 15 | import sys |
| 16 | from utils import command_executer |
| 17 | from utils import utils |
| 18 | |
| 19 | |
| 20 | def Usage(parser, message): |
| 21 | print "ERROR: " + message |
| 22 | parser.print_help() |
| 23 | sys.exit(0) |
| 24 | |
| 25 | def Main(argv): |
| 26 | parser = optparse.OptionParser() |
| 27 | options = parser.parse_args(argv)[0] |
| 28 | |
| 29 | command = "sleep 1000" |
| 30 | ce = command_executer.GetCommandExecuter() |
| 31 | ce.RunCommand(command, command_timeout=1) |
| 32 | return 0 |
| 33 | |
| 34 | |
| 35 | if __name__ == "__main__": |
| 36 | Main(sys.argv) |