From 798f78f0eebb53348ee5e318f65500d5c9f8d0bb Mon Sep 17 00:00:00 2001 From: Chris Sosa Date: Wed, 16 Mar 2011 19:54:03 -0700 Subject: [PATCH] Fix case where we don't pass in a test base. This should fix the failure seen in internal builds Change-Id: I527acc37597ab9157aedf0330e43f3159ee66fdd BUG=Should exist TEST=Ran it locally TBR=dgarret. Internal builds have been failing on these for a while and no one yelled about it :( Review URL: http://codereview.chromium.org/6676059 --- bin/au_test_harness/cros_au_test_harness.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/au_test_harness/cros_au_test_harness.py b/bin/au_test_harness/cros_au_test_harness.py index ca0d7b63eb..10c6abcd46 100755 --- a/bin/au_test_harness/cros_au_test_harness.py +++ b/bin/au_test_harness/cros_au_test_harness.py @@ -236,7 +236,8 @@ def main(): if options.clean: _CleanPreviousWork(options) # Make sure we have a log directory. - if not os.path.exists(options.test_results_root): + if options.test_results_root and not os.path.exists( + options.test_results_root): os.makedirs(options.test_results_root) # Pre-generate update modifies images by adding public keys to them.