summaryrefslogtreecommitdiffstats
path: root/extras/lcov/lcov_post
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2019-11-06 16:58:48 -0500
committerFlorin Coras <florin.coras@gmail.com>2019-11-06 23:58:23 +0000
commit8d74caa0a2e5e991908238a75651e4710764745f (patch)
tree61be455b2064138d856d2e4a06b7e9385fccc26f /extras/lcov/lcov_post
parentc96d618a5dd96e3a40d59860d2cdb9d5c6b71d11 (diff)
misc: add lcov scripts, README.md
See extras/lcov Type: feature Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: Id229436bd94cd18bcd0f3a3d938eae2b28d5b1f5
Diffstat (limited to 'extras/lcov/lcov_post')
-rwxr-xr-xextras/lcov/lcov_post9
1 files changed, 9 insertions, 0 deletions
diff --git a/extras/lcov/lcov_post b/extras/lcov/lcov_post
new file mode 100755
index 00000000000..f439796cbf3
--- /dev/null
+++ b/extras/lcov/lcov_post
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+set -e
+
+cd build-root
+rm -rf html
+mkdir html
+lcov --no-checksum --directory . --capture --output-file out.info
+genhtml out.info -o html