summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2009-11-04 20:52:27 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2009-11-04 20:52:27 +0000
commit576f952c2d06e91810dcdd26dd3f6f069c9bbcd8 (patch)
treeb798fd5d673ace21700d2c45271064afce9d5378
parent0b951b7e80a7c53a7cfd11b32b946f3600caed2d (diff)
tests: Fixed mingw 4.4.0 coverage reports
git-svn-id: http://pugixml.googlecode.com/svn/trunk@208 99668b35-9821-0410-8761-19e4c4f06640
-rw-r--r--Jamfile.jam5
1 files changed, 5 insertions, 0 deletions
diff --git a/Jamfile.jam b/Jamfile.jam
index 1769175..1d20b86 100644
--- a/Jamfile.jam
+++ b/Jamfile.jam
@@ -39,6 +39,11 @@ if ( $(toolset:I=^mingw) )
CCFLAGS = -fprofile-arcs -ftest-coverage ;
LDFLAGS = -fprofile-arcs ;
GCOVFLAGS = -n ;
+
+ if ( $(toolset) = mingw44 )
+ {
+ GCOVFLAGS += -o $(BUILD)/src ; # because stupid gcov can't find files via relative paths any more
+ }
}
# rules