Closed Bug 829019 Opened 12 years ago Closed 7 years ago

B2G Update Smoketests: Add the ability to stage standalone MAR updates

Categories

(Firefox OS Graveyard :: GonkIntegration, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: marshall, Unassigned)

Details

Attachments

(2 files)

Right now the smoketest staging script can only import a build from the B2G "out" directory. This would allow us to stage and run update smoketests for any previously built MAR.
Comment on attachment 700418 [details] [diff] [review] part 2: permission fix for b2g update_tools - v1 Review of attachment 700418 [details] [diff] [review]: ----------------------------------------------------------------- ::: tools/update-tools/update_tools.py @@ +865,5 @@ > > def build_flash_script(self): > + dir_keys = filter(lambda k: Item.ITEMS[k].dir, Item.ITEMS.keys()) > + for key in dir_keys: > + Item.ITEMS[key + "/"] = Item.ITEMS[key] It's probably worth commenting on why you're leaving the original key in here along with key/
Attachment #700418 - Flags: review?(dhylands) → review+
Comment on attachment 700417 [details] [diff] [review] part 1: update-smoketest changes - v1 Review of attachment 700417 [details] [diff] [review]: ----------------------------------------------------------------- Nice! ::: testing/marionette/update-smoketests/stage-update.py @@ +78,5 @@ > + > + print 'Building flash zip for device %s, version %s, build %s...' % \ > + (self.device, self.app_version, self.build_id) > + > + subprocess.check_call([build_flash_fota, should probably preface this with sys.executable, so that whatever version of python is used to run this script is also used to run build-flash-fota.py
Attachment #700417 - Flags: review?(jgriffin) → review+
Assignee: marshall → nobody
Flags: needinfo?(nobody)
Flags: needinfo?(nobody) → needinfo?
Flags: needinfo?
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: