blob: 9c4f4ceb3c1a66523e83c9a371e1d0842e8354df [file] [log] [blame]
# Copyright 2020 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from recipe_engine.recipe_api import Property
DEPS = [
'fuchsia/auto_roller',
'fuchsia/dart_util',
'recipe_engine/path',
'recipe_engine/json',
'recipe_engine/properties',
]
def RunSteps(api):
"""Tests for fetching and uploading debug symbols."""
dart_path = api.path['start_dir'].join('dart')
api.dart_util.checkout(path=dart_path, revision='abc_revision')
checkout_root = api.path['start_dir'].join('integration')
api.dart_util.update_pkg_manifest(path=dart_path, checkout_root=checkout_root)
api.dart_util.update_3p_packages(
checkout_root=api.path['start_dir'], dry_run=True)
api.dart_util.update_3p_packages(
checkout_root=api.path['start_dir'], dry_run=False)
def GenTests(api):
yield api.test('default') + api.auto_roller.dry_run_step_data(
) + api.auto_roller.success_step_data(
name='check for completion (2).check if done (0)')