Remove rietveld-based tests from tryserver recipe module
This introduces a pragma: no cover, which is unfortunate. But this is a prerequisite for removing rietveld support entirely from the recipe engine without having to do manual recipe rolls. The entire block of uncovered code will be removed shortly. Bug: 770408 Change-Id: I37319f3ae70413adcda655c443325bccffe695d8 Reviewed-on: https://chromium-review.googlesource.com/834455 Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org> Commit-Queue: Aaron Gable <agable@chromium.org>changes/55/834455/2
parent
9fce213bdb
commit
aac382b3b6
@ -1,69 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
"cmd": [
|
|
||||||
"RECIPE_PACKAGE_REPO[depot_tools]/git_cl.py",
|
|
||||||
"description",
|
|
||||||
"-d",
|
|
||||||
"--rietveld",
|
|
||||||
"https://codereview.chromium.org/12853011"
|
|
||||||
],
|
|
||||||
"name": "git_cl description",
|
|
||||||
"stdout": "/path/to/tmp/"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cmd": [
|
|
||||||
"python",
|
|
||||||
"-u",
|
|
||||||
"RECIPE_PACKAGE_REPO[depot_tools]/git_footers.py",
|
|
||||||
"--json",
|
|
||||||
"/path/to/tmp/json"
|
|
||||||
],
|
|
||||||
"name": "parse description",
|
|
||||||
"stdin": "foobar",
|
|
||||||
"~followup_annotations": [
|
|
||||||
"@@@STEP_LOG_END@json.output (invalid)@@@",
|
|
||||||
"@@@STEP_LOG_LINE@json.output (exception)@No JSON object could be decoded@@@",
|
|
||||||
"@@@STEP_LOG_END@json.output (exception)@@@"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cmd": [
|
|
||||||
"git",
|
|
||||||
"-c",
|
|
||||||
"core.quotePath=false",
|
|
||||||
"diff",
|
|
||||||
"--cached",
|
|
||||||
"--name-only"
|
|
||||||
],
|
|
||||||
"cwd": "[START_DIR]",
|
|
||||||
"infra_step": true,
|
|
||||||
"name": "git diff to analyze patch",
|
|
||||||
"stdout": "/path/to/tmp/",
|
|
||||||
"~followup_annotations": [
|
|
||||||
"@@@STEP_LOG_LINE@files@foo.cc@@@",
|
|
||||||
"@@@STEP_LOG_END@files@@@",
|
|
||||||
"@@@SET_BUILD_PROPERTY@failure_type@\"INVALID_TEST_RESULTS\"@@@",
|
|
||||||
"@@@SET_BUILD_PROPERTY@subproject_tag@\"v8\"@@@"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cmd": [
|
|
||||||
"python",
|
|
||||||
"-u",
|
|
||||||
"import sys; sys.exit(1)"
|
|
||||||
],
|
|
||||||
"name": "fail",
|
|
||||||
"~followup_annotations": [
|
|
||||||
"step returned non-zero exit code: 1",
|
|
||||||
"@@@STEP_TEXT@foo@@@",
|
|
||||||
"@@@STEP_FAILURE@@@",
|
|
||||||
"@@@SET_BUILD_PROPERTY@failure_hash@\"c2311ad770732eade3d2f48247abd147e40a70e7\"@@@"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "$result",
|
|
||||||
"reason": "Step('fail') failed with return_code 1",
|
|
||||||
"recipe_result": null,
|
|
||||||
"status_code": 1
|
|
||||||
}
|
|
||||||
]
|
|
@ -1,69 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
"cmd": [
|
|
||||||
"RECIPE_PACKAGE_REPO[depot_tools]/git_cl.py",
|
|
||||||
"description",
|
|
||||||
"-d",
|
|
||||||
"--rietveld",
|
|
||||||
"https://codereview.chromium.org/12853011"
|
|
||||||
],
|
|
||||||
"name": "git_cl description",
|
|
||||||
"stdout": "/path/to/tmp/"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cmd": [
|
|
||||||
"python",
|
|
||||||
"-u",
|
|
||||||
"RECIPE_PACKAGE_REPO[depot_tools]/git_footers.py",
|
|
||||||
"--json",
|
|
||||||
"/path/to/tmp/json"
|
|
||||||
],
|
|
||||||
"name": "parse description",
|
|
||||||
"stdin": "foobar",
|
|
||||||
"~followup_annotations": [
|
|
||||||
"@@@STEP_LOG_END@json.output (invalid)@@@",
|
|
||||||
"@@@STEP_LOG_LINE@json.output (exception)@No JSON object could be decoded@@@",
|
|
||||||
"@@@STEP_LOG_END@json.output (exception)@@@"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cmd": [
|
|
||||||
"git",
|
|
||||||
"-c",
|
|
||||||
"core.quotePath=false",
|
|
||||||
"diff",
|
|
||||||
"--cached",
|
|
||||||
"--name-only"
|
|
||||||
],
|
|
||||||
"cwd": "[START_DIR]/sub/project",
|
|
||||||
"infra_step": true,
|
|
||||||
"name": "git diff to analyze patch",
|
|
||||||
"stdout": "/path/to/tmp/",
|
|
||||||
"~followup_annotations": [
|
|
||||||
"@@@STEP_LOG_LINE@files@sub/project/foo.cc@@@",
|
|
||||||
"@@@STEP_LOG_END@files@@@",
|
|
||||||
"@@@SET_BUILD_PROPERTY@failure_type@\"INVALID_TEST_RESULTS\"@@@",
|
|
||||||
"@@@SET_BUILD_PROPERTY@subproject_tag@\"v8\"@@@"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cmd": [
|
|
||||||
"python",
|
|
||||||
"-u",
|
|
||||||
"import sys; sys.exit(1)"
|
|
||||||
],
|
|
||||||
"name": "fail",
|
|
||||||
"~followup_annotations": [
|
|
||||||
"step returned non-zero exit code: 1",
|
|
||||||
"@@@STEP_TEXT@foo@@@",
|
|
||||||
"@@@STEP_FAILURE@@@",
|
|
||||||
"@@@SET_BUILD_PROPERTY@failure_hash@\"c2311ad770732eade3d2f48247abd147e40a70e7\"@@@"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "$result",
|
|
||||||
"reason": "Step('fail') failed with return_code 1",
|
|
||||||
"recipe_result": null,
|
|
||||||
"status_code": 1
|
|
||||||
}
|
|
||||||
]
|
|
Loading…
Reference in New Issue