Closed
Bug 555585
Opened 15 years ago
Closed 15 years ago
[test] Remove Litmus meta data from Mozmill tests
Categories
(Testing Graveyard :: Mozmill, defect)
Testing Graveyard
Mozmill
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: whimboo, Assigned: whimboo)
References
Details
Attachments
(2 files, 6 obsolete files)
50.84 KB,
patch
|
u279076
:
review+
|
Details | Diff | Splinter Review |
50.05 KB,
patch
|
u279076
:
review+
|
Details | Diff | Splinter Review |
We put the Litmus meta data into all of our tests because we wanted to sync the results from Brasstacks with Litmus. Seeing the reality we will never have such a script. No-one will have time to work on it. Also when we have a green test-run we could simply use a bookmarklet on Litmus to automatically mark all the tests as passed. That should be a trivial task.
The work which is required from us to keep track of the Litmus id in our tests doesn't correlate to it's usefulness. That's why we wanna remove those lines from all tests in the default and mozilla1.9.1 branch.
Is anyone familiar with sed and can create a helpful regex to remove those lines automatically?
This is an example:
> /**
> * Map test functions to litmus tests
> */
> testPermissionsDisabled.meta = {litmusids : [7397]};
Assigning to myself. I spoke with Matt about this and he actually just wants the lines commented out. This will be a lot easier than removing the 4 lines. :)
Assignee: nobody → anthony.s.hughes
After some research, I've come up with the following command:
grep -B 1 -A 2 -lr -e 'litmusids : ' ./firefox | xargs sed -i '$s/^/\/\/ /g'
Patch forthcoming.
Attachment #436247 -
Flags: review?(hskupin)
Comment on attachment 436247 [details] [diff] [review]
Patch
Nevermind...this patch fails a couple of tests...
Time to tweak
Attachment #436247 -
Flags: review?(hskupin) → review-
Assignee | ||
Comment 5•15 years ago
|
||
Please also keep in mind that we have multiple lines in some tests.
Attachment #436247 -
Attachment is obsolete: true
Attachment #436255 -
Flags: review?(hskupin)
Attachment #436256 -
Attachment is obsolete: true
Attachment #436259 -
Flags: review?(hskupin)
Attachment #436259 -
Attachment is obsolete: true
Attachment #436261 -
Flags: review?(hskupin)
Attachment #436259 -
Flags: review?(hskupin)
Comment 10•15 years ago
|
||
Attachment #436255 -
Attachment is obsolete: true
Attachment #436268 -
Flags: review?(hskupin)
Attachment #436255 -
Flags: review?(hskupin)
Assignee | ||
Comment 11•15 years ago
|
||
We should target that patch for beginning next week. I would propose Monday. Anthony, if you could update both patches by Monday it would be perfect. Thanks.
Status: NEW → ASSIGNED
Comment 12•15 years ago
|
||
Reassigning to Henrik for follow-up work. I have fever and will not be able to finish this by tomorrow.
Assignee: anthony.s.hughes → hskupin
Assignee | ||
Updated•15 years ago
|
Attachment #436261 -
Attachment is obsolete: true
Attachment #436261 -
Flags: review?(hskupin)
Assignee | ||
Updated•15 years ago
|
Attachment #436268 -
Attachment is obsolete: true
Attachment #436268 -
Flags: review?(hskupin)
Assignee | ||
Comment 13•15 years ago
|
||
This patch depends on the work for the Addons API. So please apply on top of it for testing purposes.
Attachment #441589 -
Flags: review?(anthony.s.hughes)
Assignee | ||
Comment 14•15 years ago
|
||
Attachment #441591 -
Flags: review?(anthony.s.hughes)
Attachment #441589 -
Flags: review?(anthony.s.hughes) → review+
Attachment #441591 -
Flags: review?(anthony.s.hughes) → review+
Assignee | ||
Comment 15•15 years ago
|
||
Landed as:
http://hg.mozilla.org/qa/mozmill-tests/rev/9fe002fe2778
http://hg.mozilla.org/qa/mozmill-tests/rev/711fe8fa2363
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Product: Testing → Testing Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•