Closed
Bug 733175
Opened 13 years ago
Closed 13 years ago
Don't look for MPL2 headers in generated test assets
Categories
(Add-on SDK Graveyard :: General, defect)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
1.7
People
(Reporter: irakli, Assigned: warner)
Details
Attachments
(1 file)
|
816 bytes,
patch
|
irakli
:
review+
|
Details | Diff | Splinter Review |
Line over here https://github.com/mozilla/addon-sdk/pull/355/files#L1R57 triggered bug 733173 which I guess did not properly cleaned up it's generated docs that caused MPL2 Header tests to fail:
The following files are missing an MPL2 header:
python-lib/cuddlefish/tests/static-files/sdk-docs/doc/static-files/js/jquery.js
python-lib/cuddlefish/tests/static-files/sdk-docs/doc/static-files/syntaxhighlighter/scripts/shBrushCss.js
python-lib/cuddlefish/tests/static-files/sdk-docs/doc/static-files/syntaxhighlighter/scripts/shBrushJScript.js
python-lib/cuddlefish/tests/static-files/sdk-docs/doc/static-files/syntaxhighlighter/scripts/shBrushXml.js
python-lib/cuddlefish/tests/static-files/sdk-docs/doc/static-files/syntaxhighlighter/scripts/shCore.js
Not sure if that's issue on the one test or another but we should fix the issues to make sure we don't see falsy failures.
| Assignee | ||
Comment 1•13 years ago
|
||
In general, tests should be putting tempfiles in tempdirs and not scattered throughout the source tree. But here is a quick fix to avoid scanning the specific directory created by test_generate.py.
Attachment #603070 -
Flags: review?(rFobic)
| Reporter | ||
Comment 2•13 years ago
|
||
Comment on attachment 603070 [details] [diff] [review]
don't scan generated sdk-docs/ directory for MPL2 license files
Review of attachment 603070 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks!
Attachment #603070 -
Flags: review?(rFobic) → review+
| Assignee | ||
Updated•13 years ago
|
Assignee: nobody → warner-bugzilla
Comment 3•13 years ago
|
||
Commit pushed to master at https://github.com/mozilla/addon-sdk
https://github.com/mozilla/addon-sdk/commit/a3594387d40716f9647eb3c56f849c67caa73165
Bug 733175: MPL2-scanner should ignore generated docs files. r=@gozala
| Assignee | ||
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•13 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Target Milestone: --- → 1.7
You need to log in
before you can comment on or make changes to this bug.
Description
•