2017-10-09 19:26:19 +00:00
|
|
|
[
|
2017-10-17 17:40:52 +00:00
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"python",
|
|
|
|
"-u",
|
|
|
|
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
|
|
|
|
"--json-output",
|
|
|
|
"/path/to/tmp/json",
|
|
|
|
"glob",
|
|
|
|
"[START_DIR]",
|
|
|
|
"*.profraw"
|
|
|
|
],
|
|
|
|
"infra_step": true,
|
|
|
|
"name": "find raw inputs",
|
|
|
|
"stdout": "/path/to/tmp/",
|
|
|
|
"~followup_annotations": [
|
|
|
|
"@@@STEP_LOG_LINE@glob@[START_DIR]/a.raw@@@",
|
|
|
|
"@@@STEP_LOG_LINE@glob@[START_DIR]/b.raw@@@",
|
|
|
|
"@@@STEP_LOG_LINE@glob@[START_DIR]/c.raw@@@",
|
|
|
|
"@@@STEP_LOG_END@glob@@@"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"tar",
|
|
|
|
"-zcvf",
|
|
|
|
"[START_DIR]/raw_data.profraw.tar.gz",
|
|
|
|
"[START_DIR]/a.raw",
|
|
|
|
"[START_DIR]/b.raw",
|
|
|
|
"[START_DIR]/c.raw"
|
|
|
|
],
|
|
|
|
"name": "create raw data archive"
|
|
|
|
},
|
2017-10-09 19:26:19 +00:00
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"gsutil",
|
|
|
|
"cp",
|
2017-10-17 17:40:52 +00:00
|
|
|
"[START_DIR]/raw_data.profraw.tar.gz",
|
|
|
|
"gs://skia-coverage/trybot/456789/12/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug-All.profraw.tar.gz"
|
2017-10-09 19:26:19 +00:00
|
|
|
],
|
2017-10-17 17:40:52 +00:00
|
|
|
"name": "upload raw data archive"
|
2017-10-09 19:26:19 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"[START_DIR]/clang_linux/bin/llvm-profdata",
|
|
|
|
"merge",
|
|
|
|
"-sparse",
|
|
|
|
"-o",
|
2017-10-17 17:40:52 +00:00
|
|
|
"[START_DIR]/output.profdata",
|
|
|
|
"[START_DIR]/a.raw",
|
|
|
|
"[START_DIR]/b.raw",
|
|
|
|
"[START_DIR]/c.raw"
|
2017-10-09 19:26:19 +00:00
|
|
|
],
|
|
|
|
"name": "merge and index"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"gsutil",
|
|
|
|
"cp",
|
|
|
|
"-Z",
|
|
|
|
"[START_DIR]/output.profdata",
|
2017-10-16 01:05:58 +00:00
|
|
|
"gs://skia-coverage/trybot/456789/12/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug-All.profdata"
|
2017-10-09 19:26:19 +00:00
|
|
|
],
|
|
|
|
"name": "upload parsed data"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"[START_DIR]/clang_linux/bin/llvm-cov",
|
|
|
|
"show",
|
|
|
|
"[START_DIR]/out/Debug/dm",
|
|
|
|
"-instr-profile=[START_DIR]/output.profdata",
|
|
|
|
"-use-color=0",
|
|
|
|
"-format=text",
|
|
|
|
"-output-dir=[START_DIR]/coverage_text"
|
|
|
|
],
|
|
|
|
"name": "create text summary"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"gsutil",
|
|
|
|
"cp",
|
|
|
|
"-Z",
|
|
|
|
"[START_DIR]/coverage_text/index.txt",
|
2017-10-16 01:05:58 +00:00
|
|
|
"gs://skia-coverage/trybot/456789/12/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug-All.summary"
|
2017-10-09 19:26:19 +00:00
|
|
|
],
|
|
|
|
"name": "upload coverage summary"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"tar",
|
|
|
|
"-cvf",
|
|
|
|
"[START_DIR]/coverage.text.tar",
|
|
|
|
"[START_DIR]/coverage_text"
|
|
|
|
],
|
|
|
|
"name": "create text coverage archive"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"gsutil",
|
|
|
|
"cp",
|
|
|
|
"-Z",
|
|
|
|
"[START_DIR]/coverage.text.tar",
|
2017-10-16 01:05:58 +00:00
|
|
|
"gs://skia-coverage/trybot/456789/12/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug-All.text.tar"
|
2017-10-09 19:26:19 +00:00
|
|
|
],
|
|
|
|
"name": "upload text coverage data"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"[START_DIR]/clang_linux/bin/llvm-cov",
|
|
|
|
"show",
|
|
|
|
"[START_DIR]/out/Debug/dm",
|
|
|
|
"-instr-profile=[START_DIR]/output.profdata",
|
|
|
|
"-use-color=1",
|
|
|
|
"-format=html",
|
|
|
|
"-output-dir=[START_DIR]/coverage_html"
|
|
|
|
],
|
|
|
|
"name": "create html summary"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"tar",
|
|
|
|
"-cvf",
|
|
|
|
"[START_DIR]/coverage.html.tar",
|
|
|
|
"[START_DIR]/coverage_html"
|
|
|
|
],
|
|
|
|
"name": "create html coverage archive"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"gsutil",
|
|
|
|
"cp",
|
|
|
|
"-Z",
|
|
|
|
"[START_DIR]/coverage.html.tar",
|
2017-10-16 01:05:58 +00:00
|
|
|
"gs://skia-coverage/trybot/456789/12/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug-All.html.tar"
|
2017-10-09 19:26:19 +00:00
|
|
|
],
|
|
|
|
"name": "upload html coverage data"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "$result",
|
|
|
|
"recipe_result": null,
|
|
|
|
"status_code": 0
|
|
|
|
}
|
|
|
|
]
|