| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 """Defines TestPackageExecutable to help run stand-alone executables.""" | 5 """Defines TestPackageExecutable to help run stand-alone executables.""" |
| 6 | 6 |
| 7 import logging | 7 import logging |
| 8 import os | 8 import os |
| 9 import posixpath | 9 import posixpath |
| 10 import sys | 10 import sys |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 'stripped binary (%s, timestamp %d) older than ' | 150 'stripped binary (%s, timestamp %d) older than ' |
| 151 'source binary (%s, timestamp %d), build target %s' % | 151 'source binary (%s, timestamp %d), build target %s' % |
| 152 (target_name, target_mtime, self.suite_path, source_mtime, | 152 (target_name, target_mtime, self.suite_path, source_mtime, |
| 153 self.suite_name + '_stripped')) | 153 self.suite_name + '_stripped')) |
| 154 | 154 |
| 155 test_binary_path = constants.TEST_EXECUTABLE_DIR + '/' + self.suite_name | 155 test_binary_path = constants.TEST_EXECUTABLE_DIR + '/' + self.suite_name |
| 156 device.PushChangedFiles([(target_name, test_binary_path)]) | 156 device.PushChangedFiles([(target_name, test_binary_path)]) |
| 157 deps_path = self.suite_path + '_deps' | 157 deps_path = self.suite_path + '_deps' |
| 158 if os.path.isdir(deps_path): | 158 if os.path.isdir(deps_path): |
| 159 device.PushChangedFiles([(deps_path, test_binary_path + '_deps')]) | 159 device.PushChangedFiles([(deps_path, test_binary_path + '_deps')]) |
| 160 |
| 161 #override |
| 162 def PullAppFiles(self, device, files, directory): |
| 163 pass |
| OLD | NEW |