# Copyright 2018 The Chromium Authors. All rights reserved. | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
DEPS = [ | |
'docker', | |
] | |
def RunSteps(api): | |
api.docker.login() | |
api.docker.run( | |
'testimage', cmd_args=['test', 'cmd'], dir_mapping=[('/foo', '/bar')]) | |
def GenTests(api): | |
yield api.test('example') |