| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 """Apptest is a Mojo application that interacts with another Mojo application | 5 """Apptest is a Mojo application that interacts with another Mojo application |
| 6 and verifies assumptions about behavior of the app being tested. | 6 and verifies assumptions about behavior of the app being tested. |
| 7 """ | 7 """ |
| 8 | 8 |
| 9 import logging | 9 import logging |
| 10 import time | 10 import time |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 print 'Failed test: %r' % command_line | 64 print 'Failed test: %r' % command_line |
| 65 if exit_code: | 65 if exit_code: |
| 66 print ' due to shell exit code %d' % exit_code | 66 print ' due to shell exit code %d' % exit_code |
| 67 else: | 67 else: |
| 68 print ' due to test results' | 68 print ' due to test results' |
| 69 print 72 * '-' | 69 print 72 * '-' |
| 70 print output | 70 print output |
| 71 print 72 * '-' | 71 print 72 * '-' |
| 72 return False | 72 return False |
| 73 return True | 73 return True |
| OLD | NEW |