File: coverage.sh

package info (click to toggle)
shadow 1%3A4.19.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 66,808 kB
  • sloc: sh: 44,185; ansic: 34,184; xml: 12,350; exp: 3,691; makefile: 1,655; python: 1,409; perl: 120; sed: 16
file content (11 lines) | stat: -rwxr-xr-x 341 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# This script builds the code coverage of the testsuite.
# The shadow utils must have been compiled with -fprofile-arcs -ftest-coverage

cd ../build/shadow-4.1.3.1/
rm -rf ../coverage
mkdir ../coverage
lcov --directory . --capture --output-file=lcov.data

genhtml --frames --output-directory ../coverage/ --show-details lcov.data