misc: add lcov scripts, README.md
[vpp.git] / extras / lcov / lcov_post
diff --git a/extras/lcov/lcov_post b/extras/lcov/lcov_post
new file mode 100755 (executable)
index 0000000..f439796
--- /dev/null
@@ -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