[Pkg-shadow-commits] r1719 - debian/trunk/tests

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Sat Jan 12 17:33:10 UTC 2008


Author: nekral-guest
Date: 2008-01-12 17:33:09 +0000 (Sat, 12 Jan 2008)
New Revision: 1719

Added:
   debian/trunk/tests/coverage.sh
Log:
Add script to generate coverage analysis of the testsuite.


Added: debian/trunk/tests/coverage.sh
===================================================================
--- debian/trunk/tests/coverage.sh	                        (rev 0)
+++ debian/trunk/tests/coverage.sh	2008-01-12 17:33:09 UTC (rev 1719)
@@ -0,0 +1,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.0/
+rm -rf ../coverage
+mkdir ../coverage
+lcov --directory . --capture --output-file=lcov.data
+
+genhtml --frames --output-directory ../coverage/ --show-details lcov.data


Property changes on: debian/trunk/tests/coverage.sh
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-shadow-commits mailing list