| OLD | NEW |
| 1 #!/usr/bin/python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 import cStringIO | 6 import cStringIO |
| 7 import os | 7 import os |
| 8 import pickle | 8 import pickle |
| 9 import socket | 9 import socket |
| 10 import sys | 10 import sys |
| 11 | 11 |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 response = pickle.dumps((result, stdout.getvalue(), stderr.getvalue(), | 92 response = pickle.dumps((result, stdout.getvalue(), stderr.getvalue(), |
| 93 exception)) | 93 exception)) |
| 94 if self._socket.send(response) != len(response): | 94 if self._socket.send(response) != len(response): |
| 95 self.StopSocketServer() | 95 self.StopSocketServer() |
| 96 | 96 |
| 97 | 97 |
| 98 if __name__ == '__main__': | 98 if __name__ == '__main__': |
| 99 pyauto_suite = pyauto.PyUITestSuite(sys.argv) | 99 pyauto_suite = pyauto.PyUITestSuite(sys.argv) |
| 100 RemoteHost(('', 7410)) | 100 RemoteHost(('', 7410)) |
| 101 del pyauto_suite | 101 del pyauto_suite |
| OLD | NEW |