Closed Bug 885154 Opened 12 years ago Closed 8 years ago

run mozconfig comparison checks on android and thunderbird

Categories

(Release Engineering :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: bhearsum, Unassigned)

Details

(Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/2173] )

Attachments

(1 file)

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...
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".
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".
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
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)
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)
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
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
Assignee: bhearsum → yshun
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)
I think injecting an extra rule into the default target in the root make file is acceptable.
Flags: needinfo?(gps)
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)
Product: mozilla.org → Release Engineering
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+
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/2158]
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/2158] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/2171]
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/2171] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/2173]
Assignee: jasonyeo88 → nobody
Status: ASSIGNED → NEW
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: