Closed Bug 1201195 Opened 9 years ago Closed 9 years ago

[mozrunner] IndexError resolving bindir in application.py

Categories

(Testing :: Mozbase, defect)

defect
Not set
normal

Tracking

(firefox43 fixed)

RESOLVED FIXED
mozilla43
Tracking Status
firefox43 --- fixed

People

(Reporter: Silne30, Assigned: ahal)

Details

Attachments

(1 file)

      No description provided.
The root is that application.py in mozrunner is assuming some paths that exist in the context of the B2G.git repo, but that don't exist when running tests from a gaia checkout.

It looks like these paths aren't needed for gaia testing, so we should just make them optional by setting them to None if they don't exist.
Assignee: nobody → ahalberstadt
Status: NEW → ASSIGNED
Summary: Path variable throws indexerror → [mozrunner] IndexError resolving bindir in application.py
Bug 1201195 - [mozrunner] Fix IndexError on B2G when running without a build (or bindir), r=armenzg

There is an assumption in application.py that there exists a build with a valid bindir. This directory
doesn't exist if no build exist. Before now, this code path hasn't been a problem as it was only used
with built emulators. But now gaia is starting to use it and there might not even be a B2G repo at all!
Attachment #8656141 - Flags: review?(armenzg)
Comment on attachment 8656141 [details]
MozReview Request: Bug 1201195 - [mozrunner] Fix IndexError on B2G when running without a build (or bindir), r=armenzg

https://reviewboard.mozilla.org/r/18095/#review16201
Attachment #8656141 - Flags: review?(armenzg) → review+
https://hg.mozilla.org/mozilla-central/rev/1dbf8850f7ed
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: