[CMake] Coverage tests with gcov under Linux

Alan W. Irwin irwin at beluga.phys.uvic.ca
Fri May 9 18:23:34 EDT 2008


On 2008-05-09 16:56-0500 John Doe wrote:

> in tcsh:
>
> setenv LC_ALL POSIX
>
> or if you need utf-8
>
> setenv LC_ALL en_US.UTF-8
>
> In bash:
> export LC_ALL=en_US.UTF-8

That should be a good workaround, but ideally cmake should avoid locale
issues like this one if at all possible since internationalization is
becoming more and more ubiquitous on all platforms.

So, Bill, is there some good alternative to parsing for the locale-dependent
"Lines executed" string or are you stuck with it?

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________


More information about the CMake mailing list