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
This commit is contained in:
Chris Sosa 2011-03-16 19:54:03 -07:00
parent 31b641ec3c
commit 798f78f0ee

View File

@ -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.