Support code coverage builds on Mac
Categories
(Testing :: Code Coverage, task)
Tracking
(Not tracked)
People
(Reporter: marco, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Keywords: leave-open)
Attachments
(1 file)
1.60 KB,
patch
|
jmaher
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Updated•6 years ago
|
Reporter | ||
Comment 1•6 years ago
|
||
From bug 1381069 comment 8: > Update: With the fix in Bug 1409747 (thanks :marco) applied locally to > latest inbound, my osx ccov build finishes now - but when I startup Firefox > it errors out with: > > Roberts-MacBook-Pro-1903:mozilla-unified rwood$ ./mach run > 0:00.69 > /Users/rwood/mozilla-unified/obj-x86_64-apple-darwin16.7.0/dist/NightlyDebug. > app/Contents/MacOS/firefox -no-remote -foreground -profile > /Users/rwood/mozilla-unified/obj-x86_64-apple-darwin16.7.0/tmp/scratch_user > Assertion failure: Storage<T>::initialized(), at > /Users/rwood/mozilla-unified/obj-x86_64-apple-darwin16.7.0/dist/include/ > mozilla/ThreadLocal.h:225 I'll see if I can reproduce the same crash tomorrow or Friday.
Reporter | ||
Comment 2•6 years ago
|
||
I've managed to get a working build using the following mozconfig:
> ac_add_options --disable-install-strip
> ac_add_options --disable-jemalloc
> ac_add_options --disable-elf-hack
> ac_add_options --enable-debug
> ac_add_options --enable-debug-symbols
> ac_add_options --disable-sandbox
> ac_add_options --enable-coverage
>
> export CFLAGS="--coverage"
> export CXXFLAGS="--coverage"
> export LDFLAGS="--coverage"
Revision: f7c7cb48610c.
Clang version: Apple LLVM version 9.0.0 (clang-900.0.38).
OS X version: 10.13.
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Comment 3•6 years ago
|
||
I've tested a build with mochitest-a11y (one of the fastest suites), after applying all patches from the current blocking bugs. The JavaScript coverage looks sane, the C++ one is still missing a lot of files. I'll try downloading the gcda files from the test machines to figure out what's wrong with the C++ coverage.
Reporter | ||
Comment 4•6 years ago
|
||
(In reply to Marco Castelluccio [:marco] from comment #3) > I've tested a build with mochitest-a11y (one of the fastest suites), after > applying all patches from the current blocking bugs. > The JavaScript coverage looks sane, the C++ one is still missing a lot of > files. I'll try downloading the gcda files from the test machines to figure > out what's wrong with the C++ coverage. Now that all the basic blocking bugs are fixed, I re-tested and both JS and C++ coverage looked fine.
Reporter | ||
Comment 5•5 years ago
|
||
After we fix bug 1495683, we should start to schedule the build (at least weekly) so we notice regressions earlier.
Reporter | ||
Comment 6•5 years ago
|
||
Reporter | ||
Updated•5 years ago
|
Updated•5 years ago
|
Pushed by mcastelluccio@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/0d0fab4a52f7 Run Mac coverage builds on mozilla-central pushes, without running its tests. r=jmaher
Comment 8•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0d0fab4a52f7
Comment 9•5 years ago
|
||
The leave-open keyword is there and there is no activity for 6 months.
:marco, maybe it's time to close this bug?
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Updated•4 years ago
|
Reporter | ||
Updated•4 years ago
|
Comment 10•4 years ago
|
||
The leave-open keyword is there and there is no activity for 6 months.
:marco, maybe it's time to close this bug?
Comment 12•3 years ago
|
||
The leave-open keyword is there and there is no activity for 6 months.
:marco, maybe it's time to close this bug?
Reporter | ||
Comment 13•3 years ago
|
||
This is still something we should do at some point.
Comment 14•3 years ago
|
||
The leave-open keyword is there and there is no activity for 6 months.
:marco, maybe it's time to close this bug?
Reporter | ||
Updated•3 years ago
|
Comment 15•2 years ago
|
||
The leave-open keyword is there and there is no activity for 6 months.
:marco, maybe it's time to close this bug?
Reporter | ||
Updated•2 years ago
|
Comment 16•2 years ago
|
||
The leave-open keyword is there and there is no activity for 6 months.
:marco, maybe it's time to close this bug?
For more information, please visit auto_nag documentation.
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Updated•1 year ago
|
Updated•1 year ago
|
Description
•