| 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 | 5 |
| 6 import logging | 6 import logging |
| 7 import re | 7 import re |
| 8 import os | 8 import os |
| 9 import pexpect | 9 import pexpect |
| 10 | 10 |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 if ret_code: | 192 if ret_code: |
| 193 failed_tests += [BaseTestResult('gtest exit code: %d' % ret_code, | 193 failed_tests += [BaseTestResult('gtest exit code: %d' % ret_code, |
| 194 'pexpect.before: %s' | 194 'pexpect.before: %s' |
| 195 '\npexpect.after: %s' | 195 '\npexpect.after: %s' |
| 196 % (p.before, | 196 % (p.before, |
| 197 p.after))] | 197 p.after))] |
| 198 # Create TestResults and return | 198 # Create TestResults and return |
| 199 return TestResults.FromRun(ok=ok_tests, failed=failed_tests, | 199 return TestResults.FromRun(ok=ok_tests, failed=failed_tests, |
| 200 crashed=crashed_tests, timed_out=timed_out, | 200 crashed=crashed_tests, timed_out=timed_out, |
| 201 overall_fail=overall_fail) | 201 overall_fail=overall_fail) |
| OLD | NEW |