www.digitalmars.com         C & C++   DMDScript  

D.gnu - GDC - Code Coverage


i'm using GDC under Linux (gdc (GCC) 4.1.2 20070214 ( gdc 0.24, using dmd 
1.024)) and i'm quite happy with it.
So I played with it a little and wanted to enable the cool code coverage 
I added the parameters "-ftest-coverage -fprofile-arcs".
After compiling my source with this, I could do code coverage on simple 
But when I compile my D project, I cannot get a satisfying result.
My unittests fail. It seems that File operatings and string manipulations 
work different with enabled code coverage. Do I make something wrong? Has 
anybody also made this experience?

Dec 19 2008