diff options
Diffstat (limited to 'chromium/build/chromeos/test_runner.py')
-rwxr-xr-x | chromium/build/chromeos/test_runner.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chromium/build/chromeos/test_runner.py b/chromium/build/chromeos/test_runner.py index 1a496d18ea6..00c5772de9b 100755 --- a/chromium/build/chromeos/test_runner.py +++ b/chromium/build/chromeos/test_runner.py @@ -992,6 +992,12 @@ def main(): return 1 args.cros_cache = os.path.abspath(args.cros_cache) + if args.flash and args.public_image: + # The flashing tools depend on being unauthenticated with GS when flashing + # public images, so make sure the env var GS uses to locate its creds is + # unset in that case. + os.environ.pop('BOTO_CONFIG', None) + return args.func(args, unknown_args) |