summaryrefslogtreecommitdiffstats
path: root/tests/run-coverage.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 19:15:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 19:15:13 +0000
commit5fb98df7b32417914e9b282e91987199416d0a97 (patch)
treed674271dc3d99faa1a75fa689888ee3d3aec4e10 /tests/run-coverage.sh
parentInitial commit. (diff)
downloadipcalc-ng-upstream.tar.xz
ipcalc-ng-upstream.zip
Adding upstream version 1.0.3.upstream/1.0.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/run-coverage.sh')
-rwxr-xr-xtests/run-coverage.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/run-coverage.sh b/tests/run-coverage.sh
new file mode 100755
index 0000000..145eb12
--- /dev/null
+++ b/tests/run-coverage.sh
@@ -0,0 +1,4 @@
+#! /bin/sh
+
+cat public/index.html|grep headerCovTableEntry|grep "%"|head -1|sed 's/^.*>\([0-9\.\ %]*\)<.*$/coverage lines: \1/'
+