Closed Bug 449532 Opened 16 years ago Closed 7 years ago

Measure code coverage of js shell tests

Categories

(Core :: JavaScript Engine, defect, P2)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1301170

People

(Reporter: sayrer, Unassigned)

References

(Blocks 1 open bug)

Details

This might be difficult to get for the whole browser, but we can definitely get a shell build.
I could take this.
Assignee: general → sayrer
Priority: -- → P1
Target Milestone: --- → mozilla1.9.1b1
I have this working.
I'd like to resurrect this. I'm assuming the work here is something like adding gcov to CFLAGS? If not: - Is there a patch to make this work? - Is this in the build system somewhere? - Have we automated tracking/testing/arewecoveredyet.com for this? - if so, where do the numbers go? - if so, were problems like the ones reported in bug 635155 and bug 621096 detected or detectable?
Blocks: 636940
We have existing weekly whole-browser code coverage builds, they're apparently failing to compile right now (in JS, conveniently enough): http://tinderbox.mozilla.org/showlog.cgi?log=Testing/1299323050.1299324259.9880.gz I'd have to poke to find out where the results were, but we were producing lcov output from having run all the unittest suites.
Depends on: 639897
Assignee: sayrer → pbiggar
The builds are successful and producing output now, but they're timing out running "make check" / xpcshell-tests, I filed bug 657631 on that. The output isn't really going anywhere useful at the moment, there's a .tar.bz2 here with the lcov output: http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/experimental/codecoverage/
Depends on: 657631
Assignee: pbiggar → general
Summary: TM: test coverage data from coverage utility → test coverage data from coverage utility
Target Milestone: mozilla1.9.1b1 → ---
Depends on: 718510
No longer depends on: 718510
OS: Mac OS X → All
Priority: P1 → P2
Hardware: x86 → All
Summary: test coverage data from coverage utility → Measure code coverage of js shell tests
Assignee: general → nobody
Looks like code coverage is currently tracked in bug 1301170.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
We are currently running the coverage buily daily. You can see a report of the coverage at https://codecov.io/gh/marco-c/gecko-dev.
You need to log in before you can comment on or make changes to this bug.