diff options
| author | Bryce Harrington <bryce@bryceharrington.org> | 2014-08-11 18:34:47 -0700 |
|---|---|---|
| committer | Bryce Harrington <bryce@osg.samsung.com> | 2014-08-27 19:38:50 -0700 |
| commit | 2ebffbe44dd1c2dbee16a17c90a66964f064ec41 (patch) | |
| tree | 41241449123d9dc8f6d62d72b98f3aa72b5461d9 /utils | |
| parent | 1e1cc039ccd4f15baa66a3d5ff054b4cb215cd2a (diff) | |
index.html: Update to latest tests
Diffstat (limited to 'utils')
| -rwxr-xr-x | utils/make_index | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/utils/make_index b/utils/make_index new file mode 100755 index 0000000..ebaa515 --- /dev/null +++ b/utils/make_index @@ -0,0 +1,69 @@ +#!/bin/bash + +cat <<EOF +<html><head> +<meta http-equiv="content-type" content="text/html; charset=windows-1252"> + <style> + body { + background-color: #333; + } + + h1 { + color: #6f6; + } + + #results { + font-family:"Trebuchet MS", Arial, Helvetica, sans-serif; + border-collapse:collapse; + border-right:1px solid black; + border-left:1px solid black; + } + + #results td, #results th { + font-size:1em; + border-bottom:1px solid black; + padding:3px 7px 32px 7px; + } + + #results th { + font-size:1.1em; + text-align:left; + padding-top:5px; + padding-bottom:4px; + background-color:black; + color:#ffffff; + } + + #results tr.alt td { + color:#000000; + background-color:silver; + } + </style> +</head> +<body> + +<h1>Cairo vs. Skia</h1> + +<table id="results"> + +EOF + +for test in src/skia-tests/*; do + name=$(basename ${test%.cpp}) + cat <<EOF + <tbody><tr><th colspan="2">${name}</th></tr> + <tr> + <td><img src="cairo-${name}.png"></td> + <td><img src="skia-${name}.png"></td> + </tr> + +EOF + +done + +cat <<EOF +</tbody></table> + + +</body></html> +EOF |