Closed Bug 968403 Opened 10 years ago Closed 10 years ago

Figure out what to do with preprocessed mochitests

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla30

People

(Reporter: ted, Assigned: ted)

References

Details

Attachments

(1 file, 1 obsolete file)

We've got some mochitests that get preprocessed, for example:
http://mxr.mozilla.org/mozilla-central/source/browser/components/preferences/tests/Makefile.in#10

We either need to support preprocessing mochitests in manifest files, or we need to fix all the tests that rely on this. The former seems simpler, but if it's just a handful of tests perhaps we can get it done easily.
Depends on: 972555
This is not comprehensive, I just wanted to get a checkpoint up here. I'm going to just fix things to not use preprocessing.
Assignee: nobody → ted
Status: NEW → ASSIGNED
I think this covers most of the tests that were preprocessed. There are still a few left, but we'll get them cleaned up eventually.
Attachment #8379816 - Flags: review?(jmaher)
Attachment #8375774 - Attachment is obsolete: true
Comment on attachment 8379816 [details] [diff] [review]
Switch some tests to not use preprocessing

Review of attachment 8379816 [details] [diff] [review]:
-----------------------------------------------------------------

::: browser/components/preferences/tests/browser.ini
@@ +10,5 @@
>  [browser_healthreport.js]
>  skip-if = (!healthreport) || (os == 'linux' && debug)
>  [browser_permissions.js]
>  [browser_privacypane_1.js]
> +[browser_privacypane_4.js]

1-4-3-5?
Comment on attachment 8379816 [details] [diff] [review]
Switch some tests to not use preprocessing

Review of attachment 8379816 [details] [diff] [review]:
-----------------------------------------------------------------

thanks, this is really nice to see the cleanup here.
Attachment #8379816 - Flags: review?(jmaher) → review+
Had to fiddle a few things because this patch was sort of busted as written (you can't + Arrays in JS, oops). The resulting try run looks a lot better:
https://tbpl.mozilla.org/?tree=Try&rev=95633282cbba
https://hg.mozilla.org/mozilla-central/rev/28b40ecf6345
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: