SkQP: fix upload script
Also report transparency Change-Id: I38c803d1abe1892dc4d7ee6d917f5a39eac6c1c3 Reviewed-on: https://skia-review.googlesource.com/98762 Reviewed-by: Hal Canary <halcanary@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
This commit is contained in:
parent
78d762d1ff
commit
3da15bb1c8
@ -228,6 +228,10 @@ bool MakeReport(const char* report_directory_path) {
|
||||
"<title>SkQP Report</title>\n"
|
||||
"<style>\n"
|
||||
"img { max-width:48%; border:1px green solid; }\n"
|
||||
"img.i { background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSU"
|
||||
"hEUgAAABAAAAAQCAAAAAA6mKC9AAAAAXNSR0IArs4c6QAAAAJiS0dEAP+Hj8y/AAAACXBI"
|
||||
"WXMAAA7DAAAOwwHHb6hkAAAAB3RJTUUH3gUBEi4DGRAQYgAAAB1JREFUGNNjfMoAAVJQmo"
|
||||
"kBDdBHgPE/lPFsYN0BABdaAwN6tehMAAAAAElFTkSuQmCC'); }\n"
|
||||
"</style>\n"
|
||||
"</head>\n"
|
||||
"<body>\n"
|
||||
@ -249,7 +253,7 @@ bool MakeReport(const char* report_directory_path) {
|
||||
"maximum error: %d\n<br>\n"
|
||||
"bad pixel counts: %d\n<br>\n"
|
||||
"<a href=\"%s/" PATH_IMG_PNG "\">"
|
||||
"<img src=\"%s/" PATH_IMG_PNG "\" alt='img'></a>\n"
|
||||
"<img src=\"%s/" PATH_IMG_PNG "\" alt='img' class=\"i\"></a>\n"
|
||||
"<a href=\"%s/" PATH_ERR_PNG "\">"
|
||||
"<img src=\"%s/" PATH_ERR_PNG "\" alt='err'></a>\n<br>\n"
|
||||
"<a href=\"%s/" PATH_MAX_PNG "\">max</a>\n<br>\n"
|
||||
|
@ -47,5 +47,6 @@ find * -type f | sort | while IFS= read -r FILENAME; do
|
||||
done
|
||||
printf '\rdone \n'
|
||||
upload "$FILES" > files.checksum
|
||||
wait
|
||||
|
||||
rm "$FILES" "$EXTANT"
|
||||
|
Loading…
Reference in New Issue
Block a user