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 8cb83b23fb0e265e601cceb16eabb5e1546e3464..e72b386cbf95dd6bb6923590252fa5cc5f86821b 100755 |
--- a/bin/au_test_harness/cros_au_test_harness.py |
+++ b/bin/au_test_harness/cros_au_test_harness.py |
@@ -275,6 +275,10 @@ def main(): |
# Clean up previous work if requested. |
if options.clean: _CleanPreviousWork(options) |
+ # Make sure we have a log directory. |
+ if not os.path.exists(options.test_results_root): |
+ os.makedirs(options.test_results_root) |
+ |
# Generate cache of updates to use during test harness. |
update_cache = _PregenerateUpdates(options) |
au_worker.AUWorker.SetUpdateCache(update_cache) |