From 576f952c2d06e91810dcdd26dd3f6f069c9bbcd8 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Wed, 4 Nov 2009 20:52:27 +0000 Subject: tests: Fixed mingw 4.4.0 coverage reports git-svn-id: http://pugixml.googlecode.com/svn/trunk@208 99668b35-9821-0410-8761-19e4c4f06640 --- Jamfile.jam | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3