9ef6de7824
The first "sharding" technique we will try is just by test config (e.g. 8888, gles, etc). Thus, for backwards compatibility, the default "shard" is All, as in all configs Bug: skia: NOTRY=true Change-Id: Ia02362477a5d97f8f74d688b5f0c4f45fc129375 Reviewed-on: https://skia-review.googlesource.com/59563 Commit-Queue: Kevin Lubick <kjlubick@google.com> Reviewed-by: Eric Boren <borenet@google.com>
110 lines
2.4 KiB
JSON
110 lines
2.4 KiB
JSON
[
|
|
{
|
|
"cmd": [
|
|
"gsutil",
|
|
"cp",
|
|
"-Z",
|
|
"[START_DIR]/output.profraw",
|
|
"gs://skia-coverage-alt/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug-All.profraw"
|
|
],
|
|
"name": "upload raw data"
|
|
},
|
|
{
|
|
"cmd": [
|
|
"[START_DIR]/clang_linux/bin/llvm-profdata",
|
|
"merge",
|
|
"-sparse",
|
|
"[START_DIR]/output.profraw",
|
|
"-o",
|
|
"[START_DIR]/output.profdata"
|
|
],
|
|
"name": "merge and index"
|
|
},
|
|
{
|
|
"cmd": [
|
|
"gsutil",
|
|
"cp",
|
|
"-Z",
|
|
"[START_DIR]/output.profdata",
|
|
"gs://skia-coverage-alt/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug-All.profdata"
|
|
],
|
|
"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",
|
|
"gs://skia-coverage-alt/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug-All.summary"
|
|
],
|
|
"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",
|
|
"gs://skia-coverage-alt/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug-All.text.tar"
|
|
],
|
|
"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",
|
|
"gs://skia-coverage-alt/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug-All.html.tar"
|
|
],
|
|
"name": "upload html coverage data"
|
|
},
|
|
{
|
|
"name": "$result",
|
|
"recipe_result": null,
|
|
"status_code": 0
|
|
}
|
|
] |