Chromium Code Reviews| Index: bin/au_test_harness/cros_au_test_harness.py |
| diff --git a/bin/au_test_harness/cros_au_test_harness.py b/bin/au_test_harness/cros_au_test_harness.py |
| index 76d800a1178b4d0ebd37113111dbf8984ee4864a..dc817334b262400496e60003708d464a56adabc2 100755 |
| --- a/bin/au_test_harness/cros_au_test_harness.py |
| +++ b/bin/au_test_harness/cros_au_test_harness.py |
| @@ -237,6 +237,9 @@ def main(): |
| help='Remote address for real test.') |
| parser.add_option('-t', '--target_image', |
| help='path to the target image.') |
| + parser.add_option('--test_results_root', default=None, |
| + help='Root directory to store test results. Should ' |
| + 'be defined relative to chroot root.') |
| parser.add_option('--test_prefix', default='test', |
| help='Only runs tests with specific prefix i.e. ' |
| 'testFullUpdateWipeStateful.') |
| @@ -247,7 +250,7 @@ def main(): |
| 'possible.') |
| (options, leftover_args) = parser.parse_args() |
| - if leftover_args: parser.error('Found unsupported flags: %s' % leftover_args) |
| + if leftover_args: parser.error('Found unsupported flags: % s' % leftover_args) |
|
dgarrett
2011/03/04 22:31:12
I think that space is put there by mistake, though
|
| assert options.target_image and os.path.exists(options.target_image), \ |
| 'Target image path does not exist' |
| @@ -259,7 +262,7 @@ def main(): |
| # cleaned so we know that the vm images and payloads match the possibly new |
| # key. |
| if options.private_key or options.public_key: |
| - error_msg = ('Could not find %s key. Both private and public keys must be ' |
| + error_msg = ('Could not find % s key. Both private and public keys must be ' |
|
dgarrett
2011/03/04 22:31:12
80 characters, the space looks like an error, and
|
| 'specified if either is specified.') |
| assert options.private_key and os.path.exists(options.private_key), \ |
| error_msg % 'private' |