Enable strict coverage for all modules
Bug: chromium:693058 Change-Id: I6e00f73141722dc47f8da16e21dadd1d4e26a14f Reviewed-on: https://chromium-review.googlesource.com/475911 Commit-Queue: Paweł Hajdan Jr. <phajdan.jr@chromium.org> Reviewed-by: Robbie Iannucci <iannucci@chromium.org>changes/11/475911/3
parent
313c4e4430
commit
3978290b21
@ -0,0 +1,39 @@
|
||||
# Copyright 2017 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.
|
||||
|
||||
from recipe_engine import post_process
|
||||
from recipe_engine import recipe_api
|
||||
|
||||
|
||||
DEPS = [
|
||||
'gclient',
|
||||
'recipe_engine/properties',
|
||||
]
|
||||
|
||||
|
||||
PROPERTIES = {
|
||||
'patch_project': recipe_api.Property(),
|
||||
}
|
||||
|
||||
|
||||
def RunSteps(api, patch_project):
|
||||
api.gclient.set_config('chromium')
|
||||
|
||||
patch_root = api.gclient.calculate_patch_root(patch_project)
|
||||
|
||||
api.gclient.set_patch_project_revision(patch_project)
|
||||
|
||||
|
||||
def GenTests(api):
|
||||
yield (
|
||||
api.test('chromium') +
|
||||
api.properties(patch_project='chromium') +
|
||||
api.post_process(post_process.DropExpectation)
|
||||
)
|
||||
|
||||
yield (
|
||||
api.test('v8') +
|
||||
api.properties(patch_project='v8') +
|
||||
api.post_process(post_process.DropExpectation)
|
||||
)
|
@ -0,0 +1,27 @@
|
||||
[
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"-u",
|
||||
"RECIPE_PACKAGE_REPO[depot_tools]/apply_issue.py",
|
||||
"-r",
|
||||
"[START_DIR]/foo/bar",
|
||||
"-i",
|
||||
"1",
|
||||
"-p",
|
||||
"1",
|
||||
"-s",
|
||||
"http://review_tool.url",
|
||||
"--no-auth"
|
||||
],
|
||||
"name": "apply_issue",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LINK@Applied issue 1@http://review_tool.url/1@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "$result",
|
||||
"recipe_result": null,
|
||||
"status_code": 0
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue