Closed Bug 575306 Opened 14 years ago Closed 14 years ago

'cfx testex' should ignore bogus files and empty directories

Categories

(Add-on SDK Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: adw, Assigned: avarma)

Details

Attachments

(1 file)

cfx should ignore bogus files and empty directories -- or maybe just cfx test/testall?  They cause errors that are probably cryptic to people just getting started with the SDK.

Via bug 575147, which had a test failure because OS X stuck a .DS_Store in one of the reporter's directories.
I can bag this one.
Assignee: nobody → avarma
Status: NEW → ASSIGNED
Attached patch patchSplinter Review
Note that the particular error from bug 575147 is in relation to 'cfx testex', which is run during 'cfx testall'. I've reflected the name of this bug to reflect that.
Summary: cfx should ignore bogus files and empty directories → 'cfx testex' should ignore bogus files and empty directories
Attachment #457419 - Flags: review?(warner-bugzilla)
Comment on attachment 457419 [details] [diff] [review]
patch

looks good to me. You might want to add an "examples.sort()" in there to make the tests get run in a consistent order.
Attachment #457419 - Flags: review?(warner-bugzilla) → review+
Pushed:

  http://hg.mozilla.org/labs/jetpack-sdk/rev/f918333aaf4b
  http://hg.mozilla.org/labs/jetpack-sdk/rev/aea8c9819d23
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
The Add-on SDK is no longer a Mozilla Labs experiment and has become a big enough project to warrant its own Bugzilla product, so the "Add-on SDK" product has been created for it, and I am moving its bugs to that product.

To filter bugmail related to this change, filter on the word "looptid".
Component: Jetpack SDK → General
Product: Mozilla Labs → Add-on SDK
QA Contact: jetpack-sdk → general
Version: Trunk → unspecified
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: