Closed
Bug 885154
Opened 12 years ago
Closed 8 years ago
run mozconfig comparison checks on android and thunderbird
Categories
(Release Engineering :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: bhearsum, Unassigned)
Details
(Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/2173] )
Attachments
(1 file)
3.53 KB,
patch
|
bhearsum
:
feedback+
|
Details | Diff | Splinter Review |
Noticed this while reviewing bug 763903. There's probably a reason we don't run it, but it's unfortunate because it means that we won't run mozconfig checks for android...
Comment 1•12 years ago
|
||
Yeah, you'll want to do something else, maybe more like the way check-sync-dirs.py gets run (but not as many times as it does); I don't think there's one single bug for the hopeless impossibility of make check on Android (which would be "on Linux64" since we don't build on Android), just multiple bugs on things like "make it possible to run cppunittests packaged instead of from an objdir" and "run them packaged" and "make it possible to run jit-tests packaged".
Comment 2•12 years ago
|
||
Right, I suspect the only real reason here is "most of the stuff that runs in make check doesn't make sense to run on a cross-compile".
Reporter | ||
Comment 3•12 years ago
|
||
Ah right, duh. Morphing this bug, then.
I'm not sure the check-sync-dirs model works for mozconfig checks though, because they've got application specific logic to figure out which mozconfigs to look at. Maybe there's some preflight target inside the Android makefiles that we can put these into.
Summary: investigate why make check doesn't run for android → run mozconfig comparison checks on android
Reporter | ||
Comment 4•12 years ago
|
||
The only target I found that seems remotely reasonable is "tools" in mobile/android. Nothing runs as part of it right now. Ted, is that a reasonable place to call compare-mozconfigs.py?
Flags: needinfo?(ted)
Comment 5•12 years ago
|
||
I don't really have any good suggestions here, we don't have a place for this at the moment. You could explicitly add it as a dependency of "default" in the root Makefile, so that it'd get run at the top of the build.
Alternately, maybe we could just fix "make check" to work on cross-compiles? This would probably just involve making sure we don't try to run C++ unit tests or the JS tests.
Flags: needinfo?(ted)
Reporter | ||
Comment 6•12 years ago
|
||
Additional question from IRC, so I don't forget:
[16:29:24] <bhearsum> ted: re: https://bugzilla.mozilla.org/show_bug.cgi?id=885154#c5 - do you mean making something like "compare-mozconfigs" a dependency of default in the root Makefile, and then implementing that target in browser/Makefile.in and mobile/android/Makefile.in?
[17:18:20] <ted> bhearsum|afk: that'd be fine yes
Reporter | ||
Comment 7•12 years ago
|
||
I'm going to scope creep this a little bit, because it's important that Thunderbird runs them too. Thunderbird should be an easy port -- add the whitelist, and the target to run the checks.
Summary: run mozconfig comparison checks on android → run mozconfig comparison checks on android and thunderbird
Reporter | ||
Updated•12 years ago
|
Assignee: bhearsum → yshun
Reporter | ||
Comment 8•12 years ago
|
||
Gps, to avoid extra iteration (like in bug 763903), would you mind giving feedback on the approach talked about in comments #5 and 6? No rush.
Flags: needinfo?(gps)
![]() |
||
Comment 9•12 years ago
|
||
I think injecting an extra rule into the default target in the root make file is acceptable.
Flags: needinfo?(gps)
Comment 10•12 years ago
|
||
I have a WIP patch. I'm not sure if I am doing the make file stuff right.
Also, I pushed to try and I got this: https://tbpl.mozilla.org/?tree=Try&rev=618ece10f608.
There were some errors when checking the mozconfigs. Is it because some entries are missing in the whitelist?
Attachment #787698 -
Flags: feedback?(bhearsum)
Assignee | ||
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
Reporter | ||
Comment 11•12 years ago
|
||
Comment on attachment 787698 [details] [diff] [review]
compare_android_mozconfig.diff
Review of attachment 787698 [details] [diff] [review]:
-----------------------------------------------------------------
This patch looks like it's on the right track, but it's probably out of date now (my fault) :(. Needs some build peer feedback/review after it's been retested, too.
Attachment #787698 -
Flags: feedback?(bhearsum) → feedback+
![]() |
||
Updated•11 years ago
|
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/2158]
![]() |
||
Updated•11 years ago
|
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/2158] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/2171]
![]() |
||
Updated•11 years ago
|
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/2171] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/2173]
![]() |
||
Updated•9 years ago
|
Assignee: jasonyeo88 → nobody
Status: ASSIGNED → NEW
![]() |
||
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Assignee | ||
Updated•7 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•