Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(235)

Unified Diff: bin/au_test_harness/cros_au_test_harness.py

Issue 6614029: Add ability to pass a base test root and create results dirs relative. (Closed) Base URL: http://git.chromium.org/git/crosutils.git@master
Patch Set: Add ctest flag as well Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bin/au_test_harness/au_worker.py ('k') | bin/au_test_harness/dummy_au_worker.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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'
« no previous file with comments | « bin/au_test_harness/au_worker.py ('k') | bin/au_test_harness/dummy_au_worker.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698