summaryrefslogtreecommitdiff
path: root/Jamfile.jam
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-08-29 15:46:30 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-08-29 15:46:30 +0000
commit0dd0b4c496c69f47078de58a3c42939a885ddd6b (patch)
tree10736f2154c66ea66d95b47a06a444988b777ca8 /Jamfile.jam
parent0868f83deba4319db2f30f56ccdbc3401ce59f9a (diff)
tests: Introduced fullcoverage mode
git-svn-id: http://pugixml.googlecode.com/svn/trunk@688 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'Jamfile.jam')
-rw-r--r--Jamfile.jam10
1 files changed, 9 insertions, 1 deletions
diff --git a/Jamfile.jam b/Jamfile.jam
index 15a0e63..df8d5be 100644
--- a/Jamfile.jam
+++ b/Jamfile.jam
@@ -43,7 +43,15 @@ if ( $(toolset:I=^mingw) || $(toolset:I=^gcc) )
{
CCFLAGS = -fprofile-arcs -ftest-coverage ;
LDFLAGS = -fprofile-arcs ;
- GCOVFLAGS = -n ;
+
+ if $(fullcoverage)
+ {
+ GCOVFLAGS = --branch-probabilities --function-summaries ;
+ }
+ else
+ {
+ GCOVFLAGS = --no-output ;
+ }
}
# build folder