[rtems-tools commit] coverage: Give coverage bars red background

Joel Sherrill joel at rtems.org
Tue Mar 30 18:20:47 UTC 2021


Module:    rtems-tools
Branch:    master
Commit:    bfee5507b90751a43535e4a3cd1c5a9335531d76
Changeset: http://git.rtems.org/rtems-tools/commit/?id=bfee5507b90751a43535e4a3cd1c5a9335531d76

Author:    Alex White <alex.white at oarcorp.com>
Date:      Sun Mar  7 21:59:44 2021 -0600

coverage: Give coverage bars red background

---

 tester/rt/coverage.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tester/rt/coverage.py b/tester/rt/coverage.py
index ec3957c..a561d26 100644
--- a/tester/rt/coverage.py
+++ b/tester/rt/coverage.py
@@ -129,6 +129,9 @@ class report_gen_html:
         head_section += '    width: 150px;' + os.linesep
         head_section += '    height: 15px;' + os.linesep
         head_section += '  }' + os.linesep
+        head_section += '  progress::-webkit-progress-bar {' + os.linesep
+        head_section += '    background: red;' + os.linesep
+        head_section += '  }' + os.linesep
         head_section += '  table, th, td {' + os.linesep
         head_section += '    border: 1px solid black;' + os.linesep
         head_section += '    border-collapse: collapse;' + os.linesep



More information about the vc mailing list