QA:CodeCoverage: Difference between revisions

Jump to navigation Jump to search
m (fix codecoverage link)
Line 172: Line 172:
== <FONT COLOR=GREEN>Scripts and Works around required </FONT> ==
== <FONT COLOR=GREEN>Scripts and Works around required </FONT> ==


=== Change to the mozilla code ===
As of now, there is a bug https://bugzilla.mozilla.org/show_bug.cgi?id=461270 which prevents the NSPR from getting linked in the code coverage mode.
As of now, there is a bug https://bugzilla.mozilla.org/show_bug.cgi?id=461270 which prevents the NSPR from getting linked in the code coverage mode.


Line 189: Line 190:
Please make sure that you have all the build dependencies installed properly before attempting the build.
Please make sure that you have all the build dependencies installed properly before attempting the build.


=== LCOV ===
You'll need [http://ltp.sourceforge.net/coverage/lcov.php lcov].
on os X the bin/install.sh needs to be modified on the last line there is a install -D remove the -D switch as it's not supported on OS X.
The following needs to be done :
sudo vi /usr/bin/geninfo
  Press the following key sequence:
  Esc -> : -> %s/die/print/g -> Enter
sudo vi /usr/bin/genhtml
  Press the following key sequence:
  Esc -> : -> %s/die/print/g -> Enter
=== other changes ===


A bunch of javascript files gets ‘jar’ed’ into the
A bunch of javascript files gets ‘jar’ed’ into the
canmove, Confirmed users
1,343

edits

Navigation menu